[package] acx: don't fail if 'wifi' led is missing
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Jan 2011 21:49:28 +0000 (21:49 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Jan 2011 21:49:28 +0000 (21:49 +0000)
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25168 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/acx/files/lib/wifi/acx.sh

index 9ee906d..07ff03e 100644 (file)
@@ -173,7 +173,7 @@ enable_acx() {
                first=0
        done
        
-       echo 1 >/sys/class/leds/wifi/brightness
+       echo 1 >/sys/class/leds/wifi/brightness || :
 }
 
 
This page took 0.027509 seconds and 4 git commands to generate.