[package] acx: don't fail if 'wifi' led is missing
authorFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:49:28 +0000 (21:49 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 27 Jan 2011 21:49:28 +0000 (21:49 +0000)
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
SVN-Revision: 25168

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 || :
 }