diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-04 17:30:49 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-04 17:30:49 +0000 |
commit | 5eb502d9c1b15ed231ada81f380f8f7e04028b18 (patch) | |
tree | 61f77d389d6c48f2719bb4c7c8632c8e32ceb7d2 /target/linux/ar71xx/base-files | |
parent | 1045c83527d8c1b178321de104305c3a491ef923 (diff) | |
download | upstream-5eb502d9c1b15ed231ada81f380f8f7e04028b18.tar.gz upstream-5eb502d9c1b15ed231ada81f380f8f7e04028b18.tar.bz2 upstream-5eb502d9c1b15ed231ada81f380f8f7e04028b18.zip |
ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.
SVN-Revision: 29652
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 5 |
2 files changed, 6 insertions, 0 deletions
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" |