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

Ben Armstrong synrg at debian.org
Fri Nov 19 01:13:32 UTC 2010


The following commit has been merged in the master branch:
commit ec499de4886ba6e704d8601a481402474927ab26
Author: Ben Armstrong <synrg at debian.org>
Date:   Thu Nov 18 21:13:23 2010 -0400

    Fix test for eeepc-wmi.

diff --git a/eeepc-acpi-scripts/button.sh b/eeepc-acpi-scripts/button.sh
index cec882c..85aa945 100755
--- a/eeepc-acpi-scripts/button.sh
+++ b/eeepc-acpi-scripts/button.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-grep -q eeepc[_-]wmi /proc/modules || exit 0
+[ -e '/sys/devices/platform/eeepc-wmi' ] || exit 0
 case $3 in
     WLAN)
         hotkey=00000010

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list