summaryrefslogtreecommitdiff
path: root/package/acx/files
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-27 21:49:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-27 21:49:28 +0000
commit27ba2010a340fe81fe650d32f75dcc081e489cc0 (patch)
treed2371d9f082dd71cf0d18fc577fd0a6869259be2 /package/acx/files
parent2474bc0eb5c78ce4306bb61cc248d5c4eb7cac4c (diff)
[package] acx: don't fail if 'wifi' led is missing
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25168 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/acx/files')
-rw-r--r--package/acx/files/lib/wifi/acx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/acx/files/lib/wifi/acx.sh b/package/acx/files/lib/wifi/acx.sh
index 9ee906dd81..07ff03e015 100644
--- a/package/acx/files/lib/wifi/acx.sh
+++ b/package/acx/files/lib/wifi/acx.sh
@@ -173,7 +173,7 @@ enable_acx() {
first=0
done
- echo 1 >/sys/class/leds/wifi/brightness
+ echo 1 >/sys/class/leds/wifi/brightness || :
}