[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-86-g5da4f5e
Luca Niccoli
lultimouomo at gmail.com
Fri Nov 19 09:58:46 UTC 2010
The following commit has been merged in the master branch:
commit 5da4f5e1cd393c0f9025a050ff92f5954af3f5ad
Author: Luca Niccoli <lultimouomo at gmail.com>
Date: Fri Nov 19 10:57:44 2010 +0100
Fix button wrapper parameter positioning.
Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>
diff --git a/eeepc-acpi-scripts/button.sh b/eeepc-acpi-scripts/button.sh
index 25b7248..a064898 100755
--- a/eeepc-acpi-scripts/button.sh
+++ b/eeepc-acpi-scripts/button.sh
@@ -1,6 +1,6 @@
#!/bin/sh
[ -d /sys/devices/platform/eeepc-wmi ] || exit 0
-case $3 in
+case $2 in
WLAN)
hotkey=00000010
;;
@@ -26,4 +26,4 @@ case $3 in
hotkey=00000038
;;
esac
-/usr/share/acpi-support/eeepc-acpi-scripts/hotkey.sh - hotkey ASUS010:00 $hotkey $4 $5
+/usr/share/acpi-support/eeepc-acpi-scripts/hotkey.sh hotkey ASUS010:00 $hotkey $4
diff --git a/etc/acpi/events/asus-eee-hotkey-button b/etc/acpi/events/asus-eee-hotkey-button
index 6fbebfe..11d6e3b 100644
--- a/etc/acpi/events/asus-eee-hotkey-button
+++ b/etc/acpi/events/asus-eee-hotkey-button
@@ -1,2 +1,2 @@
event=button/(wlan|zoom|mute|volume|prog|screenlock)
-action=/usr/share/acpi-support/eeepc-acpi-scripts/button.sh - %e
+action=/usr/share/acpi-support/eeepc-acpi-scripts/button.sh %e
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list