summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:54 +0000
commitd0fe16cedf18fd9cd7241c52ebdacaaf4cd34e1a (patch)
tree8bf1ff76926977cddc65f6ae0977f4f4b49b8b1b /target/linux/ar71xx/base-files
parentae7d14f70135268f8e92d14d98c8cfcc31923e16 (diff)
downloadmtk-20170518-d0fe16cedf18fd9cd7241c52ebdacaaf4cd34e1a.zip
mtk-20170518-d0fe16cedf18fd9cd7241c52ebdacaaf4cd34e1a.tar.gz
mtk-20170518-d0fe16cedf18fd9cd7241c52ebdacaaf4cd34e1a.tar.bz2
ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38101
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/04_led_migration4
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index fee2f82..14f8c98 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -183,7 +183,7 @@ get_status_led() {
status_led="netgear:amber:power"
;;
wnr612-v2)
- status_led="wnr612v2:green:power"
+ status_led="netgear:green:power"
;;
wp543)
status_led="wp543:green:diag"
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 3b53f6e..9806aef 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
@@ -58,6 +58,10 @@ wnr2200)
migrate_leds "wnr2200:=netgear:"
;;
+wnr612-v2)
+ migrate_leds "wnr612v2:=netgear:"
+ ;;
+
*)
;;
esac