summaryrefslogtreecommitdiff
path: root/target/linux
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
commitd5542640d48f99d3060f586ec98057e254f61114 (patch)
tree0a4acffbb21f1506a21e47ecaca2fcb1527be0fa /target/linux
parent67159b7ea6bf60673729b27cbed962fa083fc831 (diff)
downloadmtk-20170518-d5542640d48f99d3060f586ec98057e254f61114.zip
mtk-20170518-d5542640d48f99d3060f586ec98057e254f61114.tar.gz
mtk-20170518-d5542640d48f99d3060f586ec98057e254f61114.tar.bz2
ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45930
Diffstat (limited to 'target/linux')
-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 c5b2921..d6001c5 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"