From 28c6546050d344bb29d35df7da68b939edeeac18 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 4 Jan 2012 17:30:49 +0000 Subject: ar71xx: add default LED configuration for the TL-MR3020 Also use the system LED for diagnostic. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/leds | 5 +++++ 2 files changed, 6 insertions(+) (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 feed265602..d8bcb90ce7 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -94,6 +94,7 @@ get_status_led() { tew-632brp) status_led="tew-632brp:green:status" ;; + tl-mr3020 | \ tl-mr3220 | \ tl-mr3420 | \ tl-wa901nd | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index c637279fab..afa9abb1e3 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -135,6 +135,11 @@ om2p) set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ;; +tl-mr3020) + set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" + set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" + ;; + tl-mr3220 | \ tl-mr3420 ) set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" -- cgit v1.2.3