aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-08 12:51:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-08 12:51:13 +0000
commitbef1dcfa0878cf72a4dec5f4a404a25ebc632470 (patch)
tree95058a6f90728933083d9f90dd587fdda6ab4b0f
parent7b1a2cdbe8282f8dc2002a4f6c384827b33482e0 (diff)
downloadupstream-bef1dcfa0878cf72a4dec5f4a404a25ebc632470.tar.gz
upstream-bef1dcfa0878cf72a4dec5f4a404a25ebc632470.tar.bz2
upstream-bef1dcfa0878cf72a4dec5f4a404a25ebc632470.zip
ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45930 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c5b2921bc2..d6001c5d5b 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -166,9 +166,7 @@ get_status_led() {
whr-g300n)
status_led="whr-g300n:green:router"
;;
- wmr300 | \
- whr-300hp2 | \
- whr-600d)
+ wmr300)
status_led="buffalo:green:status"
;;
wli-tx4-ag300n)
@@ -186,6 +184,9 @@ get_status_led() {
wr8305rt)
status_led="wr8305rt:sys"
;;
+ whr-300hp2 | \
+ whr-600d | \
+ whr-1166d | \
wsr-600 | \
wsr-1166)
status_led="buffalo:orange:diag"