mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
16 lines
260 B
Bash
Executable File
16 lines
260 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. scripts/defines.sh
|
|
|
|
echo "Cleaning up in $DBDIR..."
|
|
|
|
rm -f $DBDIR/[^C]*
|
|
|
|
echo "Running ldif2ldbm to build slapd database..."
|
|
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
|
RC=$?
|
|
if [ $RC != 0 ]; then
|
|
echo "ldif2ldbm failed!"
|
|
exit $RC
|
|
fi
|