summaryrefslogtreecommitdiffstats
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:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-01 11:20:44 +0000
commite7586959df121c8371dd4501f85eb4c20d9f7f6e (patch)
treef3ff41ff8ce57262ab01b688406a273130e5a72d /target/linux/ar71xx/base-files/etc/diag.sh
parent3a7b12a27d2a0fbb7a6f0d155faec08c5531c48c (diff)
downloadmaster-31e0f0ae-e7586959df121c8371dd4501f85eb4c20d9f7f6e.tar.gz
master-31e0f0ae-e7586959df121c8371dd4501f85eb4c20d9f7f6e.tar.bz2
master-31e0f0ae-e7586959df121c8371dd4501f85eb4c20d9f7f6e.zip
ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh31
1 files changed, 10 insertions, 21 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index ad4fc28b72..daa7407332 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -87,29 +87,18 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
- tl-mr3220 | tl-mr3420)
- status_led="tl-mr3x20:green:system"
- ;;
- tl-wa901nd)
- status_led="tl-wa901nd:green:system"
- ;;
- tl-wa901nd-v2)
- status_led="tl-wa901nd-v2:green:system"
- ;;
- tl-wr1043nd)
- status_led="tl-wr1043nd:green:system"
+ tl-mr3220 | \
+ tl-mr3420 | \
+ tl-wa901nd | \
+ tl-wa901nd-v2 | \
+ tl-wr1043nd | \
+ tl-wr741nd | \
+ tl-wr841n-v1 | \
+ tl-wr941nd)
+ status_led="tp-link:green:system"
;;
tl-wr703n)
- status_led="tl-wr703n:blue:system"
- ;;
- tl-wr741nd)
- status_led="tl-wr741nd:green:system"
- ;;
- tl-wr841n-v1)
- status_led="tl-wr841n:green:system"
- ;;
- tl-wr941nd)
- status_led="tl-wr941nd:green:system"
+ status_led="tp-link:blue:system"
;;
unifi)
status_led="ubnt:green:dome"