aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-25 07:44:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-25 07:44:45 +0000
commite55bf8c335b197ef20ad13227342976c39f12ed2 (patch)
treea7e897c9b2de5d5d9f680750ca5a8f67382cba6b /target/linux/ar71xx/base-files/etc/diag.sh
parent47e45167d90f0c1cc6bf8241f5ed2116de2f3b24 (diff)
downloadupstream-e55bf8c335b197ef20ad13227342976c39f12ed2.tar.gz
upstream-e55bf8c335b197ef20ad13227342976c39f12ed2.tar.bz2
upstream-e55bf8c335b197ef20ad13227342976c39f12ed2.zip
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020. The LED behaviour has also been modified: * The WPS LED is the diag LED now. * A netdev trigger for the LAN LED has been added. The profile of the TL-MR3020 has been updated because the needed package "kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev trigger for the 3G/USB LED. [juhosg: the board name changes has been removed, and the kernel files has been changed instead.] Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 76f263b64b..f30ad05223 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -97,7 +97,9 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
- tl-mr3020 | \
+ tl-mr3020)
+ status_led="tp-link:green:wps"
+ ;;
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \