aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>2018-01-15 08:11:54 -0800
committerMathias Kresin <dev@kresin.me>2018-01-15 21:45:43 +0100
commite4442ca2d87ffebd4e6703e1998cb047c29aec91 (patch)
tree34fabad09e8380cbc99cd21b27fb07572e5ac736
parent5bdd238b634a34b038fbea9046893de29a77c000 (diff)
downloadupstream-e4442ca2d87ffebd4e6703e1998cb047c29aec91.tar.gz
upstream-e4442ca2d87ffebd4e6703e1998cb047c29aec91.tar.bz2
upstream-e4442ca2d87ffebd4e6703e1998cb047c29aec91.zip
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@gimpelevich.san-francisco.ca.us> [merge into existing $boardname:blue:status block] Signed-off-by: Mathias Kresin <dev@kresin.me> Acked-by: Piotr Dymacz <pepe2k@gmail.com> Acked-by: Cezary Jackiewicz <cezary@eko.one.pl>
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index cf37fcf487..f290c3f9a7 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"