From: Daniel Gimpelevich Date: Mon, 15 Jan 2018 16:11:54 +0000 (-0800) Subject: ramips: use blue status LED for Xiaomi Router 3G X-Git-Tag: v19.07.0-rc1~4806 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e4442ca2d87ffebd4e6703e1998cb047c29aec91;p=openwrt%2Fstaging%2Fhauke.git 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 [merge into existing $boardname:blue:status block] Signed-off-by: Mathias Kresin Acked-by: Piotr Dymacz Acked-by: Cezary Jackiewicz --- 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"