[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. b25f394bbdc1cfc1ca3cc01505ebb9597306d286

Darren Salt linux at youmustbejoking.demon.co.uk
Sat Mar 28 18:16:32 UTC 2009


The following commit has been merged in the master branch:
commit e4d69eb7a2b26fbc4b1c4ef3732f34780d6c7f8b
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date:   Sat Mar 28 18:11:09 2009 +0000

    Test for /sys/bus/platform/devices/eeepc instead of /sys/module/eeepc_laptop
    since the latter won't be present if the module is built in.
    Also remove a debug echo.

diff --git a/debian/eeepc-acpi-scripts.init b/debian/eeepc-acpi-scripts.init
index 153abf0..2508049 100644
--- a/debian/eeepc-acpi-scripts.init
+++ b/debian/eeepc-acpi-scripts.init
@@ -12,7 +12,7 @@
 test -f /usr/share/eeepc-acpi-scripts/functions.sh || exit 0
 
 # exit if eeepc-laptop isn't loaded (should be loaded by udev)
-test -d /sys/module/eeepc_laptop || exit 0
+test -d /sys/bus/platforn/devices/eeepc || exit 0
 
 PATH="/sbin:/bin"
 
@@ -29,7 +29,6 @@ maybe_warn ()
   local WARN
   WARN="$($@ 2>&1 || :)"
   if [ -n "$WARN" ]; then
-    echo "$WARN"
     log_warning_msg "$WARN"
   fi
 }

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list