aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary.jackiewicz@gmail.com>2016-09-28 19:08:38 +0200
committerJohn Crispin <john@phrozen.org>2016-09-29 11:39:41 +0200
commite79e555c0e973da0bde56165dbf57a0b9aedc4d5 (patch)
treebe31f749ca593e1f1733450fc62c68bcdb8cc4b6 /target/linux/ramips/base-files/etc
parent2b3b63aea301412b2c42e7bfe3c59e566ac4eaa9 (diff)
downloadupstream-e79e555c0e973da0bde56165dbf57a0b9aedc4d5.tar.gz
upstream-e79e555c0e973da0bde56165dbf57a0b9aedc4d5.tar.bz2
upstream-e79e555c0e973da0bde56165dbf57a0b9aedc4d5.zip
ramips: Xiaomi MiWiFi Nano: fix status led
- add status led for Xiaomi MiWiFi Nano - revert https://github.com/lede-project/source/commit/af1e70b4a730e91ce1668d506ebc5c1c8cf5abf5 , this should not be added. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index c3230b7e5a..8bc3d0cda7 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -206,8 +206,7 @@ miniembplug)
set_wifi_led "$board:red:wlan"
set_usb_led "$board:green:mobile"
;;
-miwifi-mini|\
-miwifi-nano)
+miwifi-mini)
ucidef_set_led_default "power" "power" "$board:red:status" "1"
;;
miwifi-nano)
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 0023921415..7870ce2ffb 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -143,6 +143,7 @@ get_status_led() {
status_led="$board:blue:status"
;;
miwifi-mini|\
+ miwifi-nano|\
zte-q7)
status_led="$board:red:status"
;;