[Lunar-commits] r23365 - moonbase/trunk/graphics/sane-backends/init.d
Jannis Pohlmann
jannis at lunar-linux.org
Tue Feb 20 14:08:53 CET 2007
Author: jannis
Date: 2007-02-20 14:08:53 +0100 (Tue, 20 Feb 2007)
New Revision: 23365
Modified:
moonbase/trunk/graphics/sane-backends/init.d/sane
Log:
Fix several issues in the init script.
Modified: moonbase/trunk/graphics/sane-backends/init.d/sane
===================================================================
--- moonbase/trunk/graphics/sane-backends/init.d/sane 2007-02-20 13:00:05 UTC (rev 23364)
+++ moonbase/trunk/graphics/sane-backends/init.d/sane 2007-02-20 13:08:53 UTC (rev 23365)
@@ -5,9 +5,6 @@
# chkconfig: 345 50 50
# description: This is a daemon which broadcasts notifications of system events \
# and other messages. See http://www.freedesktop.org/software/dbus/
-# processname: dbus-daemon
-# pidfile: /var/run/messagebus.pid
-# sigreload: HUP
SANE_LOCKDIR="/var/lock/sane"
@@ -21,4 +18,14 @@
fi
}
+stop () {
+ echo -n "Stopping $SHORT: "
+ echo -e $RESULT_OK
+}
+
+restart () {
+ stop
+ start
+}
+
. /lib/lsb/init-functions $1
More information about the Lunar-commits
mailing list