mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix prev commit
This commit is contained in:
parent
947612e72f
commit
8726452d8f
@ -34,20 +34,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
|
||||
|
||||
if test x"$SYNCMODE" = x ; then
|
||||
SYNCMODE=rp
|
||||
else
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Test replication of dynamic config:
|
||||
|
@ -37,20 +37,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
|
||||
|
||||
if test x"$SYNCMODE" = x ; then
|
||||
SYNCMODE=rp
|
||||
else
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Test replication of dynamic config:
|
||||
|
@ -47,20 +47,19 @@ $SLAPPASSWD -g -n >$CONFIGPWF
|
||||
|
||||
if test x"$SYNCMODE" = x ; then
|
||||
SYNCMODE=rp
|
||||
else
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "$SYNCMODE" in
|
||||
ro)
|
||||
SYNCTYPE="type=refreshOnly interval=00:00:00:10"
|
||||
;;
|
||||
rp)
|
||||
SYNCTYPE="type=refreshAndPersist"
|
||||
;;
|
||||
*)
|
||||
echo "unknown sync mode $SYNCMODE"
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Initializing producer configurations..."
|
||||
$SLAPADD -F $CFPROD -n 0 <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user