#! /bin/sh
# $OpenLDAP$
-echo "skipped"
-exit 0
-
+echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
mkdir $DBDIR
exit $RC
fi
-BACKEND=$SAVE
echo "Starting R2 slave slapd on TCP/IP port $R2SLAVEPORT..."
. $CONFFILTER $BACKEND $MONITORDB < $R2SRSLAVECONF > $R2REPLCONF
$SLAPD -f $R2REPLCONF -h $R2SLAVEURI -d $LVL $TIMING > $R2SLAVELOG 2>&1 &
exit $RC
fi
-BACKEND=$SAVE
echo "Starting P2 slave slapd on TCP/IP port $P2SLAVEPORT..."
. $CONFFILTER $BACKEND $MONITORDB < $P2SRSLAVECONF > $P2REPLCONF
$SLAPD -f $P2REPLCONF -h $P2SLAVEURI -d $LVL $TIMING > $P2SLAVELOG 2>&1 &