openldap/tests/scripts/conf.sh
2002-08-12 21:49:27 +00:00

10 lines
253 B
Bash
Executable file

#! /bin/sh
# $OpenLDAP$
# . $SRCDIR/scripts/defines.sh
if [ x"$MONITORDB" = x"yes" ] ; then
MON=monitor
else
MON=nomonitor
fi
sed -e "s/@BACKEND@/$BACKEND/" -e "s/^#$BACKEND#//" -e "s/^#$MON#//" \
-e "s/@PORT@/$PORT/" -e "s/@SLAVEPORT@/$SLAVEPORT/"