mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
17 lines
370 B
Bash
Executable File
17 lines
370 B
Bash
Executable File
#! /bin/sh
|
|
# $OpenLDAP$
|
|
if [ x"$MONITORDB" = x"yes" ] ; then
|
|
MON=monitor
|
|
else
|
|
MON=nomonitor
|
|
fi
|
|
if [ x"$BACKENDTYPE" = x"mod" ]; then
|
|
MODULELOAD="moduleload back_${BACKEND}.la"
|
|
fi
|
|
sed -e "s/@BACKEND@/${BACKEND}/" \
|
|
-e "s/@MODULELOAD@/${MODULELOAD}/" \
|
|
-e "s/^#${BACKEND}#//" \
|
|
-e "s/^#${MON}#//" \
|
|
-e "s/@PORT@/${PORT}/" \
|
|
-e "s/@SLAVEPORT@/${SLAVEPORT}/"
|