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

Raphael Geissert atomo64 at gmail.com
Sun Mar 8 07:56:43 UTC 2009


The following commit has been merged in the master branch:
commit 6552c220a8d0622462661878cdceae65c48a2b3c
Author: Raphael Geissert <atomo64 at gmail.com>
Date:   Sun Mar 8 01:54:27 2009 -0600

    Partially revert b216702. SUSPEND_OPTIONS should only be set if SUSPEND_METHODS
    is empty as some methods don't need/take any option and setting a
    pm-suspend -specific option may cause them to fail.

diff --git a/etc/acpi/actions/suspend.sh b/etc/acpi/actions/suspend.sh
index 1b0915b..5de23ad 100755
--- a/etc/acpi/actions/suspend.sh
+++ b/etc/acpi/actions/suspend.sh
@@ -21,7 +21,9 @@ brn_control=/sys/class/backlight/eeepc/brightness
 brightness=$(cat $brn_control)
 
 # Setting defaults in case /etc/default/eeepc-acpi-scripts was not updated
-if [ -z "$SUSPEND_OPTIONS" ]; then
+# Only set SUSPEND_OPTIONS if SUSPEND_METHOD is empty, because some methods
+# don't need/take any option.
+if [ -z "$SUSPEND_METHOD" ]; then
     SUSPEND_OPTIONS=--quirk-s3-bios
 fi
 if [ -z "$(which "$SUSPEND_METHOD")" ]; then

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list