summaryrefslogtreecommitdiff
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
commitaf8d8506e5c818c07df6bdd9cb0f9c51a542fe6f (patch)
tree007d702f1d2b5da533a36f0d0ab9587302834dd9 /package/acx
parent0c71bc09d1c6f846ad8767872eceea4318d870aa (diff)
downloadmtk-20170518-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.zip
mtk-20170518-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.tar.gz
mtk-20170518-af8d8506e5c818c07df6bdd9cb0f9c51a542fe6f.tar.bz2
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')
-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 9ee906d..07ff03e 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 || :
}