mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
16 lines
244 B
Bash
Executable file
16 lines
244 B
Bash
Executable file
#! /bin/sh
|
|
# $OpenLDAP$
|
|
|
|
. scripts/defines.sh
|
|
|
|
echo "Cleaning up in $DBDIR..."
|
|
|
|
rm -f $DBDIR/[!C]*
|
|
|
|
echo "Running slapadd to build slapd database..."
|
|
$slapadd -f $CONF -l $LDIF
|
|
RC=$?
|
|
if test $RC != 0 ; then
|
|
echo "slapadd failed!"
|
|
exit $RC
|
|
fi
|