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

Damyan Ivanov dmn at debian.org
Tue Jan 26 06:03:58 UTC 2010


The following commit has been merged in the master branch:
commit cc0fdf696409ca9627af1f08994a3600e414d66b
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Jan 26 07:58:57 2010 +0200

    wireless.sh/disable: do not fail if no interface can be brought down
    
    for example, neither of wlan0 or ra0 may not exist

diff --git a/etc/acpi/actions/wireless.sh b/etc/acpi/actions/wireless.sh
index 346ad51..b745aa6 100755
--- a/etc/acpi/actions/wireless.sh
+++ b/etc/acpi/actions/wireless.sh
@@ -32,7 +32,7 @@ case "$cmd" in
 	if [ "$STATE" = 1 ]; then
             # rt2860 needs to be idle when shut down
             if lsmod | grep -q rt2860sta; then
-                ifconfig wlan0 down || ifconfig ra0 down
+                ifconfig wlan0 down || ifconfig ra0 down || true
                 modprobe -r rt2860sta
             fi
 	    set_rfkill "$wlan_control" 0

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list