3 # Copyright (C) 2010 OpenWrt.org
8 board
=$
(ar71xx_board_name
)
10 wndr3700_set_wan_wifi_leds
() {
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 set system.wifi_led_2ghz='led'
17 set system.wifi_led_2ghz.sysfs='ath9k-phy0::radio'
18 set system.wifi_led_2ghz.name='2.4GHz WiFi LED (green)'
19 set system.wifi_led_2ghz.trigger='netdev'
20 set system.wifi_led_2ghz.dev='wlan0'
21 set system.wifi_led_2ghz.mode='link tx rx'
22 set system.wifi_led_5ghz='led'
23 set system.wifi_led_5ghz.sysfs='ath9k-phy1::radio'
24 set system.wifi_led_5ghz.name='5GHz WiFi LED (blue)'
25 set system.wifi_led_5ghz.trigger='netdev'
26 set system.wifi_led_5ghz.dev='wlan1'
27 set system.wifi_led_5ghz.mode='link tx rx'
32 if [ "${board}" == "wndr3700" ]; then
33 wndr3700_set_wan_wifi_leds