openldap/tests/scripts/conf.sh
Kurt Zeilenga ea4996046c cleanup
2002-08-12 22:15:25 +00:00

9 lines
215 B
Bash
Executable file

#! /bin/sh
# $OpenLDAP$
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/"