mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Added better rm expressions.
This commit is contained in:
parent
c157ae7997
commit
f96fee80d3
@ -4,7 +4,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
$SLAPD -f $CONF -p $PORT -d 1 > /dev/null 2>&1 &
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
|
||||
echo "Running ldif2ldbm to build slapd database..."
|
||||
$LDIF2LDBM -f $CONF -i $LDIF -e ../servers/slapd/tools
|
||||
|
@ -13,16 +13,16 @@
|
||||
. scripts/defines.sh
|
||||
|
||||
echo "Cleaning up in $DBDIR..."
|
||||
rm -f $DBDIR/*
|
||||
rm -f $DBDIR/[^C]*
|
||||
echo "Cleaning up in $REPLDIR..."
|
||||
rm -f $REPLDIR/*
|
||||
rm -f $REPLDIR/[^C]*
|
||||
|
||||
echo "Starting master slapd on TCP/IP port $PORT..."
|
||||
$SLAPD -f $MASTERCONF -p $PORT -d 1 > /dev/null 2>&1 &
|
||||
$SLAPD -f $MASTERCONF -p $PORT -d 1 > ./test-repl/master.out 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo "Starting slave slapd on TCP/IP port $SLAVEPORT..."
|
||||
$SLAPD -f $SLAVECONF -p $SLAVEPORT -d 1 > /dev/null 2>&1 &
|
||||
$SLAPD -f $SLAVECONF -p $SLAVEPORT -d 1 > ./test-repl/slave.out 2>&1 &
|
||||
SLAVEPID=$!
|
||||
|
||||
echo "Using ldapsearch to check that master slapd is running..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user