openldap/tests/scripts/conf.sh

11 lines
253 B
Bash
Raw Normal View History

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