Masato Taruishi
taru****@users*****
2004年 10月 26日 (火) 18:58:37 JST
=================================================================== RCS file: ultrapossum/module/server/createdb.sh,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- ultrapossum/module/server/createdb.sh 2004/10/20 15:09:08 1.31 +++ ultrapossum/module/server/createdb.sh 2004/10/26 09:58:37 1.32 @@ -135,8 +135,12 @@ for l in $extraldifs do - if test "x$HOST" = "x$MASTER" && include "$HOST" "$SYNCBACKUPS"; then - sleep 1 # ad-hoc? slapadd must be run in 1 seconds for contextCSN + if test "x$HOST" = "x$MASTER"; then + case "$SLAPD_MAJOR_VERSION" in + 2.2) + sleep 1 # ad-hoc? slapadd must be run in 1 seconds for contextCSN + ;; + esac fi echo -n "Setting up `basename $l .ldif` entries... " 1>&2 if $SLAPADD -b $SUFFIX -f $SLAPDCONF $SLAPADD_EXTRA_ARGS < $l; then