aboutsummaryrefslogtreecommitdiffstats
path: root/package/acx/files
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
commitaf8d8506e5c818c07df6bdd9cb0f9c51a542fe6f (patch)
tree007d702f1d2b5da533a36f0d0ab9587302834dd9 /package/acx/files
parent0c71bc09d1c6f846ad8767872eceea4318d870aa (diff)
downloadupstream-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.tar.gz
upstream-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.tar.bz2
upstream-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.zip
acx: don't fail if 'wifi' led is missing
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> SVN-Revision: 25168
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 || :
}