[openwrt/openwrt] ramips: use blue status LED for Xiaomi Router 3G
LEDE Commits
lede-commits at lists.infradead.org
Mon Jan 15 12:47:18 PST 2018
mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/e4442ca2d87ffebd4e6703e1998cb047c29aec91
commit e4442ca2d87ffebd4e6703e1998cb047c29aec91
Author: Daniel Gimpelevich <daniel at gimpelevich.san-francisco.ca.us>
AuthorDate: Mon Jan 15 08:11:54 2018 -0800
ramips: use blue status LED for Xiaomi Router 3G
The blue LED is what other firmwares use for this device, and it's a lot
easier on the eyes than its shade of yellow, which implies an error
condition.
Signed-off-by: Daniel Gimpelevich <daniel at gimpelevich.san-francisco.ca.us>
[merge into existing $boardname:blue:status block]
Signed-off-by: Mathias Kresin <dev at kresin.me>
Acked-by: Piotr Dymacz <pepe2k at gmail.com>
Acked-by: Cezary Jackiewicz <cezary at eko.one.pl>
---
target/linux/ramips/base-files/etc/diag.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index cf37fcf..f290c3f 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -174,6 +174,7 @@ get_status_led() {
;;
k2p|\
m3|\
+ mir3g|\
miwifi-nano)
status_led="$boardname:blue:status"
;;
@@ -190,9 +191,6 @@ get_status_led() {
m4-8M)
status_led="m4:blue:status"
;;
- mir3g)
- status_led="$boardname:yellow:status"
- ;;
miwifi-mini|\
zte-q7)
status_led="$boardname:red:status"
More information about the lede-commits
mailing list