projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cad8ee
)
ar71xx: use the RB912UAG-{2, 5}HPnD Power LED for diag
author
Sergey Ryazanov
<ryazanov.s.a@gmail.com>
Fri, 14 Jul 2017 08:59:16 +0000
(11:59 +0300)
committer
Mathias Kresin
<dev@kresin.me>
Thu, 20 Jul 2017 17:10:29 +0000
(19:10 +0200)
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>
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 1dc48624a0ec57e0e6ed47c94795ac9c8412e11a..75f0826859fc363c69c50fc1b1b0c0399440b260 100644
(file)
--- 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"