[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:33 UTC 2009
The following commit has been merged in the master branch:
commit 47597941ac84144ab08837bd02e84ded27a96dbc
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Sat Mar 28 18:13:06 2009 +0000
Fix up loading of rfkill-input.
diff --git a/debian/eeepc-acpi-scripts.init b/debian/eeepc-acpi-scripts.init
index 2508049..bfe1027 100644
--- a/debian/eeepc-acpi-scripts.init
+++ b/debian/eeepc-acpi-scripts.init
@@ -78,8 +78,12 @@ case "$1" in
# Load rfkill-input if possible, i.e. kernel is 2.6.28 or newer.
# This results in faster WLAN hw toggling.
- if [ "$KERNEL" -ge 28 ] && ! grep -q '^H.*\brfkill\b' /proc/bus/input/devices; then
- load_module rfkill-input
+ if [ "$KERNEL" -ge 28 ]; then
+ if grep -q '^H.*\brfkill\b' /proc/bus/input/devices; then
+ :
+ else
+ load_module rfkill-input
+ fi
fi
# Done.
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list