From cf7c35b8212c124a9eeedadadf5819bacbf3eb2e Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 3 Feb 2003 23:24:38 +0000 Subject: - Inserted a delay in debian initscript --- debian/plptools.init | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'debian/plptools.init') diff --git a/debian/plptools.init b/debian/plptools.init index 5e0f80d..78b7ba5 100644 --- a/debian/plptools.init +++ b/debian/plptools.init @@ -1,6 +1,6 @@ #! /bin/sh # -# start or stop the plptools daemon +# start or stop the plptools daemons # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -24,21 +24,22 @@ case "$1" in echo -n "Starting $DESC ($DAEMON1): " start-stop-daemon --start --quiet \ --exec $DAEMON1 -- $NCPD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." + sleep 1 fi if test "$START_PLPNFSD" = "yes" ; then echo -n "Starting $DESC ($DAEMON2): " start-stop-daemon --start --quiet \ --exec $DAEMON2 -- $PLPNFSD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." fi if test "$START_PLPPRINTD" = "yes" ; then echo -n "Starting $DESC ($DAEMON3): " start-stop-daemon --start --quiet \ --exec $DAEMON3 -- $PLPPRINTD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." fi ;; -- cgit v1.2.3