[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. b25f394bbdc1cfc1ca3cc01505ebb9597306d286
Darren Salt
linux at youmustbejoking.demon.co.uk
Sat Mar 28 18:16:30 UTC 2009
The following commit has been merged in the master branch:
commit 0874f7a59ffdda565bdf8a006cb4886ec95b3bf5
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Sat Mar 28 17:50:43 2009 +0000
Leave the wireless network interface toggling to kernel/BIOS with 2.6.29.
(Requires rfkill-input.)
diff --git a/etc/acpi/actions/hotkey.sh b/etc/acpi/actions/hotkey.sh
index 9f9c972..1aac554 100755
--- a/etc/acpi/actions/hotkey.sh
+++ b/etc/acpi/actions/hotkey.sh
@@ -97,7 +97,12 @@ case $code in
# Fn+F2 -- toggle wireless
0000001[01])
notify wireless 'Wireless ...'
- /etc/acpi/actions/wireless.sh toggle
+ KERNEL="`echo $KERNEL | sed -re 's/^([0-9]+\.){2}([0-9]+).*$/\2/'`"
+ if [ "$KERNEL" -lt 29 ]; then
+ /etc/acpi/actions/wireless.sh toggle
+ else
+ sleep 2
+ fi
show_wireless
;;
# Fn+F6
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list