Public bug reported:

Binary package hint: acpid

Please apply the following patch in order not to have the given init
script abort early because of non-zero exit status when $VERBOSE is not
set to "no".

--- /etc/init.d/acpid.dpkg-dist 2006-09-15 19:48:03.000000000 +0200
+++ /etc/init.d/acpid   2005-11-29 22:49:43.966076152 +0100
@@ -25,7 +25,7 @@
 # the ones listed in "MODULES".
 load_modules() {
         PRINTK=`cat /proc/sys/kernel/printk`
-        [ "$VERBOSE" = no ] && echo "0 0 0 0" > /proc/sys/kernel/printk
+        [ "$VERBOSE" != no ] || echo "0 0 0 0" > /proc/sys/kernel/printk
         
         LIST=`/sbin/lsmod|awk '!/Module/ {print $1}'`
 
@@ -48,10 +48,10 @@
                for mod in $MODULES; do
                        echo $MODAVAIL | grep -q -w "$mod" || continue
                        if echo $LIST | grep -q -w "$mod"; then
-                               [ "$VERBOSE" != no ] && log_success_msg "Module 
already loaded: $mod"
+                               [ "$VERBOSE" = no ] || log_success_msg "Module 
already loaded: $mod"
                        else
-                               if modprobe -b $mod 2>/dev/null; then
-                                       [ "$VERBOSE" != no ] && log_success_msg 
"Loaded module: $mod"
+                               if modprobe "$mod" 2>/dev/null; then
+                                       [ "$VERBOSE" = no ] || log_success_msg 
"Loaded module: $mod"
                                else
                                        if [ "$VERBOSE" != no ]; then
                                                log_warning_msg "Unable to load 
module: $mod"

** Affects: acpid (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Early abort of /etc/init.d/acpid because of non-zero exit status
https://launchpad.net/bugs/67026

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to