Fix prev commit

This commit is contained in:
Howard Chu 2008-11-16 09:07:19 +00:00
parent 947612e72f
commit 8726452d8f
3 changed files with 36 additions and 39 deletions

View File

@ -34,8 +34,8 @@ $SLAPPASSWD -g -n >$CONFIGPWF
if test x"$SYNCMODE" = x ; then
SYNCMODE=rp
else
case "$SYNCMODE" in
fi
case "$SYNCMODE" in
ro)
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
;;
@ -46,8 +46,7 @@ else
echo "unknown sync mode $SYNCMODE"
exit 1;
;;
esac
fi
esac
#
# Test replication of dynamic config:

View File

@ -37,8 +37,8 @@ $SLAPPASSWD -g -n >$CONFIGPWF
if test x"$SYNCMODE" = x ; then
SYNCMODE=rp
else
case "$SYNCMODE" in
fi
case "$SYNCMODE" in
ro)
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
;;
@ -49,8 +49,7 @@ else
echo "unknown sync mode $SYNCMODE"
exit 1;
;;
esac
fi
esac
#
# Test replication of dynamic config:

View File

@ -47,8 +47,8 @@ $SLAPPASSWD -g -n >$CONFIGPWF
if test x"$SYNCMODE" = x ; then
SYNCMODE=rp
else
case "$SYNCMODE" in
fi
case "$SYNCMODE" in
ro)
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
;;
@ -59,8 +59,7 @@ else
echo "unknown sync mode $SYNCMODE"
exit 1;
;;
esac
fi
esac
echo "Initializing producer configurations..."
$SLAPADD -F $CFPROD -n 0 <<EOF