aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-31 18:37:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-31 18:37:15 +0000
commit8200f0c61a12d3319e89da80f87f770170588111 (patch)
tree2b5fe1dfc4ee770d380de41b68697b093c64a820 /target/linux/ar71xx/base-files/etc/diag.sh
parentfaeca86e50f8a8c6ee6fa735f538bd4b586b11c0 (diff)
downloadupstream-8200f0c61a12d3319e89da80f87f770170588111.tar.gz
upstream-8200f0c61a12d3319e89da80f87f770170588111.tar.bz2
upstream-8200f0c61a12d3319e89da80f87f770170588111.zip
ar71xx: unify LED names on D-Link boards
SVN-Revision: 29974
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index a3d5075a28..7759113015 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -51,17 +51,15 @@ get_status_led() {
db120)
status_led="db120:green:status"
;;
- dir-600-a1)
- status_led="dir-600-a1:green:power"
+ dir-600-a1 |\
+ dir-615-e4)
+ status_led="d-link:green:power"
;;
dir-615-c1)
- status_led="dir-615c1:green:status"
- ;;
- dir-615-e4)
- status_led="dir-615-e4:green:power"
+ status_led="d-link:green:status"
;;
dir-825-b1)
- status_led="dir825b1:orange:power"
+ status_led="d-link:orange:power"
;;
eap7660d)
status_led="eap7660d:green:ds4"