summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
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
commit0a813e9e3c98ac69ebdae27f46e253469a5ab221 (patch)
tree7135bcc3d4d975b2a4d1f15ff5696e5ba13c04e2 /target/linux/ar71xx/base-files/etc/uci-defaults
parentd0fe16cedf18fd9cd7241c52ebdacaaf4cd34e1a (diff)
downloadmtk-20170518-0a813e9e3c98ac69ebdae27f46e253469a5ab221.zip
mtk-20170518-0a813e9e3c98ac69ebdae27f46e253469a5ab221.tar.gz
mtk-20170518-0a813e9e3c98ac69ebdae27f46e253469a5ab221.tar.bz2
ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38102
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-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
2 files changed, 5 insertions, 1 deletions
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 691f699..a8bd862 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 9806aef..0ecf4be 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:"
;;