s/ldif2ldbm/slapadd/

This commit is contained in:
Kurt Zeilenga 1999-08-22 17:10:23 +00:00
parent c0aa6fa4e6
commit 59d3e50ae3
9 changed files with 20 additions and 20 deletions

View File

@ -6,10 +6,10 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
echo "Running slapadd to build slapd database..."
$slapadd -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -26,11 +26,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $NIS_CONF -l $NIS_LDIF
RC=$?
if [ $RC != 0 ]; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -19,11 +19,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -16,11 +16,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -16,11 +16,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -16,11 +16,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -16,11 +16,11 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi

View File

@ -19,15 +19,15 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi
echo "Waiting 5 seconds for ldif2ldbm to build slapd database..."
echo "Waiting 5 seconds for slapadd to build slapd database..."
sleep 5
echo "Starting slapd on TCP/IP port $PORT..."

View File

@ -21,11 +21,11 @@ echo "Cleaning up in $DBDIR and $REPLDIR ..."
rm -f $DBDIR/[!C]*
rm -f $REPLDIR/[!C]*
echo "Running ldif2ldbm to build slapd database..."
echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "ldif2ldbm failed!"
echo "slapadd failed!"
exit $RC
fi