[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-4-g5347a4d
Darren Salt
linux at youmustbejoking.demon.co.uk
Fri Dec 18 21:21:44 UTC 2009
The following commit has been merged in the master branch:
commit 5347a4dd742a3a4a321a758f2c23b8a0a59befcf
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Fri Dec 18 21:11:10 2009 +0000
button/* bug-fixing: forgot screenlock; brightness display was broken.
diff --git a/etc/acpi/actions/hotkey.sh b/etc/acpi/actions/hotkey.sh
index a7f57e3..5aece46 100755
--- a/etc/acpi/actions/hotkey.sh
+++ b/etc/acpi/actions/hotkey.sh
@@ -18,7 +18,7 @@ if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
. /etc/acpi/lib/notify.sh
code=$3
-value=$(test "$0" = - && cat "$BACKLIGHT" || echo "0x$3")
+value=$(test "x$1" = x- && cat "$BACKLIGHT" || echo "0x$3")
# In case keys are doubly-reported as hotkey and something else.
# It's random (and irrelevant) which is seen first.
diff --git a/etc/acpi/events/hotkey-button b/etc/acpi/events/hotkey-button
index 0a9a859..18d4ac1 100644
--- a/etc/acpi/events/hotkey-button
+++ b/etc/acpi/events/hotkey-button
@@ -1,2 +1,2 @@
-event=button/(wlan|zoom|mute|volume|prog)
+event=button/(wlan|zoom|mute|volume|prog|screenlock)
action=/etc/acpi/actions/hotkey.sh - %e
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list