]> granicus.if.org Git - fcron/commitdiff
added a "sleep 2" to let some time to fcron to stop before restarting it
authorthib <thib>
Fri, 12 Jan 2001 21:37:16 +0000 (21:37 +0000)
committerthib <thib>
Fri, 12 Jan 2001 21:37:16 +0000 (21:37 +0000)
script/boot-install

index e032902ead68b9f07e2bafd1706f2d0a41b3db7f..95a9eaebb28b0ecdbd579ff6b08c2e6d8d91e7fb 100755 (executable)
@@ -2,7 +2,7 @@
 # Install fcron under SysV system.
 #
 
-# $Id: boot-install,v 1.21 2001-01-07 20:56:19 thib Exp $
+# $Id: boot-install,v 1.22 2001-01-12 21:37:16 thib Exp $
 
 # take 5 arguments : the name of the BSD-like install program (with "-o" and the correct username)
 #                    the DESTSBIN directory
@@ -208,6 +208,7 @@ else
   fi
   if test \( -z "$RESTART" \) -o \( "$RESTART" = "y" \); then
     $KILL
+    sleep 2   # wait for fcron to stop
     $CMD
     RESTARTED=1
   fi