Package: sleepd
Version: 1.3.9
Tags: patch

Lintian report the following for the init.d script in sleepd:

  E: sleepd: init.d-script-has-unterminated-lsb-section /etc/init.d/sleepd:11

The following patch solve the problem.  It also removes the S runlevel
from the list of runlevels to run the stop command on.  The startup
runlevel is never used to stop scripts, so it is not needed.

--- /etc/init.d/sleepd  2006-10-28 19:36:45.000000000 +0200
+++ /etc/init.d/sleepd 2007-07-07 09:52:38.000000000 +0200
@@ -5,9 +5,10 @@
 # Required-Start:    $syslog $local_fs $remote_fs
 # Required-Stop:     $syslog $local_fs $remote_fs
 # Default-Start:     2 3 4 5
-# Default-Stop:      S 0 1 6
+# Default-Stop:      0 1 6
 # Short-Description: Sleep daemon
 # Description:       init script for the sleepd daemon
+### END INIT INFO

 DAEMON=/usr/sbin/sleepd
 NAME=sleepd

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to