aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2017-07-14 11:59:16 +0300
committerMathias Kresin <dev@kresin.me>2017-07-20 19:10:29 +0200
commitbf5d86543a06298dfe946897c2a59720401a0b0f (patch)
treeec7b0c6ddf25833ee97435e1bb10a1245b74c0dd /target/linux/ar71xx/base-files/etc/diag.sh
parent6cad8ee0bdf0f91701f7b29d8b6ffeb4437af29e (diff)
downloadupstream-bf5d86543a06298dfe946897c2a59720401a0b0f.tar.gz
upstream-bf5d86543a06298dfe946897c2a59720401a0b0f.tar.bz2
upstream-bf5d86543a06298dfe946897c2a59720401a0b0f.zip
ar71xx: use the RB912UAG-{2, 5}HPnD Power LED for diag
The Power LED of RB912UAG-{2,5}HPnD boards can be controlled by sofware, so use it for diag purposes and make the User LED free for other tasks. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 1dc48624a0..75f0826859 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -316,8 +316,6 @@ get_status_led() {
rb-911g-2hpnd|\
rb-911g-5hpacd|\
rb-911g-5hpnd|\
- rb-912uag-2hpnd|\
- rb-912uag-5hpnd|\
rb-941-2nd|\
rb-951ui-2nd|\
rb-952ui-5ac2nd|\
@@ -329,6 +327,8 @@ get_status_led() {
rb-951ui-2hnd)
status_led="rb:green:act"
;;
+ rb-912uag-2hpnd|\
+ rb-912uag-5hpnd|\
rb-sxt2n|\
rb-sxt5n)
status_led="rb:green:power"