aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:50 +0000
commit90bfef9ec9391387afecb46d5e242c28a497812a (patch)
treece8531e0a661d0f22a87214f41f7fc275e474673 /target/linux/ar71xx/base-files
parent5eb502d9c1b15ed231ada81f380f8f7e04028b18 (diff)
downloadupstream-90bfef9ec9391387afecb46d5e242c28a497812a.tar.gz
upstream-90bfef9ec9391387afecb46d5e242c28a497812a.tar.bz2
upstream-90bfef9ec9391387afecb46d5e242c28a497812a.zip
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
Diffstat (limited to 'target/linux/ar71xx/base-files')
-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 afa9abb1e3..f3b67a391e 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"