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

Luca Niccoli lultimouomo at gmail.com
Wed Nov 17 15:03:26 UTC 2010


The following commit has been merged in the master branch:
commit 48f4eda91e8485d06327c56d61d690058ac183bf
Author: Luca Niccoli <lultimouomo at gmail.com>
Date:   Wed Nov 17 16:02:18 2010 +0100

    Noityf WiFi toggling
    
    Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>

diff --git a/debian/changelog b/debian/changelog
index e8388ad..97e4258 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ eeepc-acpi-scripts (1.1.12) UNRELEASED; urgency=low
     for keys not handled by the current kernel driver.
   [Luca Niccoli]
   * Fix DBus notifications.
+  * Notify WiFi toggling.
 
  -- Ben Armstrong <synrg at sanctuary.nslug.ns.ca>  Sun, 14 Nov 2010 10:15:07 -0400
 
diff --git a/eeepc-acpi-scripts/hotkey.sh b/eeepc-acpi-scripts/hotkey.sh
index 7bda610..4de9a7e 100755
--- a/eeepc-acpi-scripts/hotkey.sh
+++ b/eeepc-acpi-scripts/hotkey.sh
@@ -135,6 +135,11 @@ case $code in
 	if [ "${FnF_WIRELESS}" != 'NONE' ]; then
 	    ${FnF_WIRELESS:-handle_wireless_toggle}
         fi
+        if /usr/sbin/rfkill list wlan | grep -q "Soft blocked: no"; then
+            notify wifi "WiFi On"
+        else
+            notify wifi "WiFi Off"
+        fi
 	;;
 
     # --/F3 - touchpad toggle

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list