else
SRCDIR=$1; shift
fi
+if [ $# -eq 1 ]; then
+ BDB2=$1; shift
+fi
-echo "running defines.sh $SRCDIR"
+echo "running defines.sh $SRCDIR $BDB2"
-. $SRCDIR/scripts/defines.sh $SRCDIR
+. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
echo "Datadir is $DATADIR"
fi
echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
+$SLAPD -f $CONF -p $PORT -d $LVL $TIMING > $MASTERLOG 2>&1 &
PID=$!
echo "Using ldapsearch to retrieve all the entries..."