[source] ramips: fix widora neo diag led
LEDE Commits
lede-commits at lists.infradead.org
Fri Dec 29 13:38:40 PST 2017
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/76d735d189b9b2ff5082f2296a8a082e46df290c
commit 76d735d189b9b2ff5082f2296a8a082e46df290c
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Dec 27 22:09:52 2017 +0100
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 at kresin.me>
---
target/linux/ramips/base-files/etc/diag.sh | 6 ++++--
1 file 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 8858876..d7cc417 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"
;;
More information about the lede-commits
mailing list