aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:55 +0000
commit0d1c23f2ca6edfbd0655ab51aae8f2ceb4f4e70d (patch)
treeaceede66cfa87754eded04ab2870e7bf7ae809c8 /target/linux/ar71xx/base-files
parenta41829e342e1e2fe517bf83811cb251a8acc68aa (diff)
downloadmaster-187ad058-0d1c23f2ca6edfbd0655ab51aae8f2ceb4f4e70d.tar.gz
master-187ad058-0d1c23f2ca6edfbd0655ab51aae8f2ceb4f4e70d.tar.bz2
master-187ad058-0d1c23f2ca6edfbd0655ab51aae8f2ceb4f4e70d.zip
ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds2
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration4
3 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 14f8c9816a..b609ac20c7 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -168,7 +168,7 @@ get_status_led() {
status_led="buffalo:red:diag"
;;
wndap360)
- status_led="wndap360:green:power"
+ status_led="netgear:green:power"
;;
wndr3700)
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 691f6992ac..a8bd8622d1 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -225,7 +225,7 @@ wrt160nl)
;;
wndap360)
- ucidef_set_led_power "power" "POWER GREEN" "wndap360:green:power" "1"
+ ucidef_set_led_power "power" "POWER GREEN" "netgear:green:power" "1"
;;
wndr3700)
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 9806aefeaf..0ecf4be131 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
+wndap360)
+ migrate_leds "wndap360:=netgear:"
+ ;;
+
wndr3700)
migrate_leds "wndr3700:=netgear:"
;;