summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-21 15:55:51 +0000
commit87f7ac6b4e6c3bd22c361ba24fd0de018edc1c61 (patch)
treef4bfa75f53ef21f2eedf0c333d0d54243fb4ab71 /target/linux/ar71xx/base-files
parente33ccdc2958f0929196e144543fd17d50a72728a (diff)
downloadmtk-20170518-87f7ac6b4e6c3bd22c361ba24fd0de018edc1c61.zip
mtk-20170518-87f7ac6b4e6c3bd22c361ba24fd0de018edc1c61.tar.gz
mtk-20170518-87f7ac6b4e6c3bd22c361ba24fd0de018edc1c61.tar.bz2
ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38099
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 c76084d..ff8e7c9 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -177,7 +177,7 @@ get_status_led() {
status_led="netgear:green:power"
;;
wnr2000)
- status_led="wnr2000:green:power"
+ status_led="netgear:green:power"
;;
wnr2200)
status_led="wnr2200:amber:power"
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 b9d0d65..ee64ca2 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
@@ -50,6 +50,10 @@ wndr3700)
migrate_leds "wndr3700:=netgear:"
;;
+wnr2000)
+ migrate_leds "wnr2000:=netgear:"
+ ;;
+
*)
;;
esac