diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 15:55:50 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 15:55:50 +0000 |
commit | e33ccdc2958f0929196e144543fd17d50a72728a (patch) | |
tree | 99f7f9bc68d2b4ec734bf80c97b5f281dc351434 /target/linux/ar71xx/base-files/etc | |
parent | d381cd170da1f5e5dc36cc6df6b93932f63de92e (diff) | |
download | upstream-e33ccdc2958f0929196e144543fd17d50a72728a.tar.gz upstream-e33ccdc2958f0929196e144543fd17d50a72728a.tar.bz2 upstream-e33ccdc2958f0929196e144543fd17d50a72728a.zip |
ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38098
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 2 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 2719a1340a..c76084d1cd 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -171,7 +171,7 @@ get_status_led() { status_led="wndap360:green:power" ;; wndr3700) - status_led="wndr3700:green:power" + status_led="netgear:green:power" ;; wndr4300) status_led="netgear:green:power" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 845de4e788..691f6992ac 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -229,8 +229,8 @@ wndap360) ;; wndr3700) - ucidef_set_led_default "wan" "WAN LED (green)" "wndr3700:green:wan" "0" - ucidef_set_led_usbdev "usb" "USB" "wndr3700:green:usb" "1-1" + ucidef_set_led_default "wan" "WAN LED (green)" "netgear:green:wan" "0" + ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1" ;; wndr4300) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration index 3687c2d5b4..b9d0d65b20 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration @@ -46,6 +46,10 @@ migrate_leds() board=$(ar71xx_board_name) case "$board" in +wndr3700) + migrate_leds "wndr3700:=netgear:" + ;; + *) ;; esac |