summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-04 17:30:50 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-04 17:30:50 +0000
commit9229d15c65c875d849faf7697c17b3c6ca32aa59 (patch)
treee1da8d240b313f7355e8d80c0bc94f6f30721346 /target/linux/ar71xx/base-files/etc
parent28c6546050d344bb29d35df7da68b939edeeac18 (diff)
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index afa9abb1e..f3b67a391 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -145,6 +145,10 @@ tl-mr3420 )
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
+tl-wa901nd)
+ set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ;;
+
tl-wr741nd)
set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"