Package:  laptop-mode-tools
Version:  1.35-1
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered what I
believe is a bug in this packages init.d script.

It need a mounted /usr/, but do not depend on $remote_fs which is the
dependency required for scripts needing /usr/.  I am sorry I got this
wrong earlier.

This patch should solve the issue.

diff -ur laptop-mode-tools-1.35.orig/etc/init.d/laptop-mode 
laptop-mode-tools-1.35/etc/init.d/laptop-mode
--- laptop-mode-tools-1.35.orig/etc/init.d/laptop-mode  2008-02-29 
21:14:52.000000000 +0100
+++ laptop-mode-tools-1.35/etc/init.d/laptop-mode       2008-02-29 
21:16:31.000000000 +0100
@@ -9,8 +9,8 @@
 ### BEGIN INIT INFO
 # Provides:          laptop-mode
 # Should-Start:      $all
-# Required-Start:    $local_fs
-# Required-Stop:     $local_fs
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Enable laptop-mode-tools power management functions

Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to