From 4f4283a96499f5ee7224b58f4233969b43d2bac5 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 21 Sep 2013 15:55:51 +0000 Subject: ar71xx: use netgear prefix for WNR2000 LED names Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 2 +- target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index c76084d1cd..ff8e7c99fe 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 b9d0d65b20..ee64ca2c58 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 -- cgit v1.2.3