mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
s/ldif2ldbm/slapadd/
This commit is contained in:
parent
c0aa6fa4e6
commit
59d3e50ae3
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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..."
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user