From 4994d8c3435a66686345b76303420eaffef45301 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Thu, 18 Jul 2002 05:20:32 +0000 Subject: - Update KDEHelp's cache after installing kioslave docs - Fix in autodetection of qt - Added START_NCPD to config files, changed initscripts accordingly. - Lot of tweaks in RPM specfile for Mandrake 8.2 - On old RedHat 7.2 with KDE2, /lib/qt2 does not exist, use QTDIR - Fixed some dscriptions in specfile - Removed mgetty cruft in initscripts - XML related fixes in kioslave doc --- debian/plptools.init | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'debian/plptools.init') diff --git a/debian/plptools.init b/debian/plptools.init index 7c250d4..5e0f80d 100644 --- a/debian/plptools.init +++ b/debian/plptools.init @@ -20,11 +20,13 @@ set -e case "$1" in start) - echo -n "Starting $DESC ($DAEMON1): " - start-stop-daemon --start --quiet \ - --exec $DAEMON1 -- $NCPD_ARGS && \ - echo -n "done" || echo -n "already running" - echo "." + if test "$START_NCPD" = "yes" ; then + echo -n "Starting $DESC ($DAEMON1): " + start-stop-daemon --start --quiet \ + --exec $DAEMON1 -- $NCPD_ARGS && \ + echo -n "done" || echo -n "already running" + echo "." + fi if test "$START_PLPNFSD" = "yes" ; then echo -n "Starting $DESC ($DAEMON2): " start-stop-daemon --start --quiet \ @@ -54,10 +56,12 @@ case "$1" in echo -n "done" || echo -n "already stopped" echo "." fi - echo -n "Stopping $DESC ($DAEMON1): " - start-stop-daemon --stop --quiet --exec $DAEMON1 && \ - echo -n "done" || echo -n "already stopped" - echo "." + if test "$START_NCPD" = "yes" ; then + echo -n "Stopping $DESC ($DAEMON1): " + start-stop-daemon --stop --quiet --exec $DAEMON1 && \ + echo -n "done" || echo -n "already stopped" + echo "." + fi ;; #reload) -- cgit v1.2.3