aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-27 22:09:52 +0100
committerMathias Kresin <dev@kresin.me>2017-12-29 22:32:34 +0100
commit76d735d189b9b2ff5082f2296a8a082e46df290c (patch)
tree6296a2ac11ca1c722307a4319a039e43abb522d1 /target/linux/ramips/base-files
parent9fc9fbeb97a96d1218914daba281ecc9c443b24b (diff)
downloadupstream-76d735d189b9b2ff5082f2296a8a082e46df290c.tar.gz
upstream-76d735d189b9b2ff5082f2296a8a082e46df290c.tar.bz2
upstream-76d735d189b9b2ff5082f2296a8a082e46df290c.zip
ramips: fix widora neo diag led
The diag LED is named widora:orange:wifi and can't be derived from the boardname. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 8858876899..d7cc4173af 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -223,8 +223,7 @@ get_status_led() {
;;
re6500|\
whr-1166d|\
- whr-600d|\
- widora-neo)
+ whr-600d)
status_led="$boardname:orange:wifi"
;;
mzk-ex300np|\
@@ -285,6 +284,9 @@ get_status_led() {
zbt-we2026)
status_led="$boardname:red:power"
;;
+ widora-neo)
+ status_led="widora:orange:wifi"
+ ;;
wzr-agl300nh)
status_led="$boardname:green:router"
;;