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

Ben Armstrong synrg at debian.org
Fri Nov 12 11:01:25 UTC 2010


The following commit has been merged in the master branch:
commit 07bfba6d816d7313df7109a6430d4de3d17aabb3
Author: Luca Niccoli <lultimouomo at gmail.com>
Date:   Tue May 18 16:25:32 2010 +0200

    Get rid of the wireless toggle handling, now managed by acpi-support; just make sure that the proper script is called also on kernels that dont generate a WLAN button event.
    
    Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>

diff --git a/eeepc-acpi-scripts/hotkey.sh b/eeepc-acpi-scripts/hotkey.sh
index 7bb151a..4c200d5 100755
--- a/eeepc-acpi-scripts/hotkey.sh
+++ b/eeepc-acpi-scripts/hotkey.sh
@@ -22,7 +22,8 @@ if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
 code=$3
 value=$(test "x$1" = x- && cat "$BACKLIGHT" || echo "0x$3")
 
-LINUX_MINOR_REV=`uname -r|cut -d. -f3`
+LINUX_FULL_VER=`uname -r`
+LINUX_MINOR_REV=${LINUX_FULL_VER:4:5}
 
 # In case keys are doubly-reported as hotkey and something else.
 # It's random (and irrelevant) which is seen first.

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list