summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds1
2 files changed, 4 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 | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 45be6bd0f1..f65af4a412 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -146,6 +146,7 @@ om2p)
tl-mr3020)
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+ set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
tl-mr3220 | \