aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-01 11:20:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-01 11:20:46 +0000
commit66ab406d5ac58f21507a00451c5444fbbe9d8bb3 (patch)
tree44e7ed292d13e2ab83643ec7a7c6f0cb7848fe8f /target/linux/ar71xx/base-files/etc/diag.sh
parente7586959df121c8371dd4501f85eb4c20d9f7f6e (diff)
downloadupstream-66ab406d5ac58f21507a00451c5444fbbe9d8bb3.tar.gz
upstream-66ab406d5ac58f21507a00451c5444fbbe9d8bb3.tar.bz2
upstream-66ab406d5ac58f21507a00451c5444fbbe9d8bb3.zip
ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index daa7407332..a608f4e063 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -103,8 +103,9 @@ get_status_led() {
unifi)
status_led="ubnt:green:dome"
;;
- whr-hp-g300n)
- status_led="whr-hp-g300n:green:router"
+ whr-hp-g300n | \
+ wzr-hp-g300nh)
+ status_led="buffalo:green:router"
;;
wndr3700 | wndr3700v2)
status_led="wndr3700:green:power"
@@ -121,9 +122,6 @@ get_status_led() {
wrt160nl)
status_led="wrt160nl:blue:wps"
;;
- wzr-hp-g300nh)
- status_led="wzr-hp-g300nh:green:router"
- ;;
zcn-1523h-2 | zcn-1523h-5)
status_led="zcn-1523h:amber:init"
;;