]> git.sur5r.net Git - openldap/blob - tests/scripts/conf.sh
Fix sizeof [r]buf typo
[openldap] / tests / scripts / conf.sh
1 #! /bin/sh
2 # $OpenLDAP$
3 if [ x"$MONITORDB" = x"yes" ] ; then
4         MON=monitor
5 else
6         MON=nomonitor
7 fi
8 sed -e "s/@BACKEND@/${BACKEND}/"        \
9         -e "s/^#${BACKEND}#//"                  \
10         -e "s/^#${MON}#//"                              \
11         -e "s/@PORT@/${PORT}/"                  \
12         -e "s/@SLAVEPORT@/${SLAVEPORT}/"