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 9ee906dd81207d756eff45d2475f265b55a99cf7..07ff03e015c501c8199aad976286ff6f01b8e189 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 || :
 }