[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-34-gecec234
Darren Salt
linux at youmustbejoking.demon.co.uk
Tue Jan 26 12:39:33 UTC 2010
The following commit has been merged in the master branch:
commit ecec2345c34541761448497ec107c77fe0df1fe1
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Tue Jan 26 12:38:00 2010 +0000
Fix rfkill index extraction.
diff --git a/functions.sh b/functions.sh
index 959b778..01abe18 100644
--- a/functions.sh
+++ b/functions.sh
@@ -14,7 +14,7 @@ if have_dev_rfkill; then
# expecting something like
# 0: eeepc-wlan: Wireless LAN
# we want the number before the first colon
- RFKILL=$(rfkill list | sed "/ $1: / s/:.\\+//; q")
+ RFKILL=$(rfkill list | sed "/ $1: /! d; s/:.\\+//; q")
}
get_rfkill()
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list