diff options
author | Mathias Kresin <dev@kresin.me> | 2017-12-27 22:09:52 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-12-29 22:33:46 +0100 |
commit | 959a49dc15a6a4d08924ed7bea02759c01bd5ad3 (patch) | |
tree | df3234c0b31054552f6f2ae6758cc0d66bf6176d /target/linux/ramips/base-files/etc/diag.sh | |
parent | a1908023cc398c3df53f8a33a0c9f93bb200db5b (diff) | |
download | mtk-20170518-959a49dc15a6a4d08924ed7bea02759c01bd5ad3.zip mtk-20170518-959a49dc15a6a4d08924ed7bea02759c01bd5ad3.tar.gz mtk-20170518-959a49dc15a6a4d08924ed7bea02759c01bd5ad3.tar.bz2 |
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/etc/diag.sh')
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 6 |
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 fa0391c..be4693f 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -191,8 +191,7 @@ get_status_led() { px-4885|\ re6500|\ whr-1166d|\ - whr-600d|\ - widora-neo) + whr-600d) status_led="$board:orange:wifi" ;; mzk-ex300np|\ @@ -230,6 +229,9 @@ get_status_led() { wlr-6000) status_led="$board:red:power" ;; + widora-neo) + status_led="widora:orange:wifi" + ;; wzr-agl300nh) status_led="$board:green:router" ;; |