diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 11:20:47 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 11:20:47 +0000 |
commit | 0fe49305dea4165c62583f3bce346aedfd686a99 (patch) | |
tree | fb090f9584a14402afc8a4a0a5cf0bc0b0aaf81f /target/linux/ar71xx/base-files/etc | |
parent | 54e69d54d624cf3a2df41bcb363f83e4add6cbaf (diff) |
ar71xx: unify LED names on Planex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28703 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 6 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu | 2 |
2 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 a608f4e06..d7673dedf 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -63,11 +63,9 @@ get_status_led() { ls-sr71) status_led="ubnt:green:d22" ;; - mzk-w04nu) - status_led="mzk-w04nu:green:status" - ;; + mzk-w04nu | \ mzk-w300nh) - status_led="mzk-w300nh:green:status" + status_led="planex:green:status" ;; nbg460n_550n_550nh) status_led="nbg460n:green:power" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu b/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu index 1be414997..db3bcba55 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/mzk-w04nu @@ -11,7 +11,7 @@ mzk_w04nu_setup_leds() { uci batch <<EOF set system.usb_led=led set system.usb_led.name='USB' -set system.usb_led.sysfs='mzk-w04nu:green:usb' +set system.usb_led.sysfs='planex:green:usb' set system.usb_led.trigger='usbdev' set system.usb_led.dev='1-1' set system.usb_led.interval='50' |