Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wndr3700
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 wndr3700_set_wan_led() {
11 uci batch <<EOF
12 set system.wan_led=led
13 set system.wan_led.sysfs='wndr3700:green:wan'
14 set system.wan_led.name='WAN LED (green)'
15 set system.wan_led.default='0'
16 commit system
17 EOF
18 }
19
20 if [ "${board}" == "wndr3700" ]; then
21 wndr3700_set_wan_led
22 fi