aboutsummaryrefslogtreecommitdiffstats
path: root/package/acx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-01-27 21:49:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-01-27 21:49:28 +0000
commitab4ab567c44dc7f29394b37c75edd5598830bcfa (patch)
treed2371d9f082dd71cf0d18fc577fd0a6869259be2 /package/acx
parentb472f24855fcdeef3edaea8c2984e233cc70796a (diff)
downloadupstream-ab4ab567c44dc7f29394b37c75edd5598830bcfa.tar.gz
upstream-ab4ab567c44dc7f29394b37c75edd5598830bcfa.tar.bz2
upstream-ab4ab567c44dc7f29394b37c75edd5598830bcfa.zip
[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')
-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 || :
}