aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-07-18 05:20:32 +0000
committerFritz Elfert <felfert@to.com>2002-07-18 05:20:32 +0000
commit4994d8c3435a66686345b76303420eaffef45301 (patch)
treee4d76f46666196bb38a9b7042bb6a872f566a1ba /debian
parente971871af853c19afd99df4ce5c2ad0f736356a8 (diff)
downloadplptools-4994d8c3435a66686345b76303420eaffef45301.tar.gz
plptools-4994d8c3435a66686345b76303420eaffef45301.tar.bz2
plptools-4994d8c3435a66686345b76303420eaffef45301.zip
- 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
Diffstat (limited to 'debian')
-rw-r--r--debian/plptools.conf4
-rw-r--r--debian/plptools.init22
2 files changed, 17 insertions, 9 deletions
diff --git a/debian/plptools.conf b/debian/plptools.conf
index 53dbacb..53de0b3 100644
--- a/debian/plptools.conf
+++ b/debian/plptools.conf
@@ -1,4 +1,8 @@
#
+# Set this to yes, if you want to start ncpd during boot.
+#
+START_NCPD=yes
+#
# Add any arguments for ncpd here. See ncpd(8) for info about possible
# arguments.
#
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)