openldap/tests/scripts/conf.sh
2002-08-12 22:14:10 +00:00

11 lines
246 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@/9009/" -e "s/@SLAVEPORT@/9010/"