rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2011 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7 . /lib/ar71xx.sh
8
9 board_config_update
10
11 board=$(ar71xx_board_name)
12
13 case "$board" in
14 airgateway | \
15 airgatewaypro)
16 ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
17 ;;
18 alfa-nx)
19 ucidef_set_led_netdev "wan" "WAN" "alfa:green:led_2" "eth0"
20 ucidef_set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
21 ;;
22
23 all0258n)
24 ucidef_set_rssimon "wlan0" "40000" "1"
25 ucidef_set_led_rssi "rssilow" "RSSILOW" "all0258n:red:rssilow" "wlan0" "1" "40" "0" "6"
26 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0258n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
27 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0258n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
28 ;;
29
30 all0315n)
31 ucidef_set_rssimon "wlan0" "40000" "1"
32 ucidef_set_led_rssi "rssilow" "RSSILOW" "all0315n:red:rssilow" "wlan0" "1" "40" "0" "6"
33 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0315n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
34 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0315n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
35 ;;
36
37 antminer-s1)
38 ucidef_set_led_default "sys" "SYS" "antminer-s1:green:sys" "0"
39 ucidef_set_led_wlan "wlan" "WLAN" "antminer-s1:green:wlan" "phy0tpt"
40 ;;
41
42 antminer-s3)
43 ucidef_set_led_wlan "wlan" "WLAN" "antminer-s3:green:wlan" "phy0tpt"
44 ucidef_set_led_default "sys" "SYS" "antminer-s3:green:sys" "0"
45 ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
46 ;;
47
48 antrouter-r1)
49 ucidef_set_led_wlan "wlan" "WLAN" "antrouter-r1:green:wlan" "phy0tpt"
50 ucidef_set_led_default "btc" "BTC" "antrouter-r1:green:btc" "0"
51 ;;
52
53 arduino-yun)
54 ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
55 ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1"
56 ;;
57
58 ap113)
59 ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
60 ;;
61
62 ap147-010)
63 ucidef_set_led_netdev "wan" "WAN" "ap147:green:wan" "eth1"
64 ucidef_set_led_switch "lan1" "LAN1" "ap147:green:lan1" "switch0" "0x10"
65 ucidef_set_led_switch "lan2" "LAN2" "ap147:green:lan2" "switch0" "0x08"
66 ucidef_set_led_switch "lan3" "LAN3" "ap147:green:lan3" "switch0" "0x04"
67 ucidef_set_led_switch "lan4" "LAN4" "ap147:green:lan4" "switch0" "0x02"
68 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt"
69 ;;
70
71 bsb)
72 ucidef_set_led_default "sys" "SYS" "bsb:red:sys" "1"
73 ;;
74
75 bullet-m | \
76 nanostation-m | \
77 rocket-m | \
78 rocket-m-xw | \
79 nanostation-m-xw | \
80 loco-m-xw)
81 ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13"
82 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13"
83 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
84 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
85 ;;
86
87 rocket-m-ti)
88 ucidef_set_led_rssi "rssiverylow" "RSSIVERYLOW" "ubnt:green:link1" "wlan0" "1" "100" "0" "13"
89 ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:green:link2" "wlan0" "26" "100" "-25" "13"
90 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
91 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
92 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link5" "wlan0" "76" "100" "-75" "13"
93 ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
94 ;;
95
96 bxu2000n-2-a1)
97 ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
98 ;;
99
100 cap324)
101 ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
102 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "pcs:amber:wlan" "phy0tpt"
103 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "pcs:green:wlan" "phy1tpt"
104 ;;
105
106 c-55)
107 ucidef_set_led_netdev "lan_green" "LAN_GREEN" "c-55:green:lan" "eth0"
108 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "c-55:amber:wlan" "phy0tpt"
109 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "c-55:green:wlan" "phy1tpt"
110 ;;
111
112 cap4200ag)
113 ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
114 ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
115 ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "senao:green:wlan" "phy1tpt"
116 ;;
117
118 carambola2)
119 ucidef_set_led_netdev "lan" "LAN" "carambola2:orange:eth0" "eth0"
120 ucidef_set_led_netdev "wan" "WAN" "carambola2:orange:eth1" "eth1"
121 ucidef_set_led_wlan "wlan" "WLAN" "carambola2:green:wlan" "phy0tpt"
122 ;;
123
124 cf-e316n-v2)
125 ucidef_set_led_netdev "lan" "LAN" "$board:blue:lan" "eth0"
126 ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
127 ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
128 ;;
129
130 cpe510)
131 ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
132 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
133 ucidef_set_rssimon "wlan0" "40000" "1"
134 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100" "0" "13"
135 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "26" "100" "-25" "13"
136 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "51" "100" "-50" "13"
137 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "76" "100" "-75" "13"
138 ;;
139
140 cr3000)
141 ucidef_set_led_netdev "wan" "WAN" "pcs:blue:wan" "eth1"
142 ucidef_set_led_switch "lan1" "LAN1" "pcs:blue:lan1" "switch0" "0x04"
143 ucidef_set_led_switch "lan2" "LAN2" "pcs:blue:lan2" "switch0" "0x08"
144 ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
145 ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
146 ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
147 ;;
148
149 cr5000)
150 ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
151 ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
152 ;;
153
154 db120)
155 ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
156 ;;
157
158 dragino2)
159 ucidef_set_led_wlan "wlan" "WLAN" "dragino2:red:wlan" "phy0tpt"
160 ucidef_set_led_netdev "lan" "LAN" "dragino2:red:lan" "eth0"
161 ucidef_set_led_netdev "wan" "WAN" "dragino2:red:wan" "eth1"
162 ;;
163
164 eap300v2)
165 ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
166 ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
167 ;;
168
169 f9k1115v2)
170 ucidef_set_led_usbdev "usb2" "USB2" "belkin:green:usb2" "1-1"
171 ;;
172
173 rb-750)
174 ucidef_set_led_default "act" "act" "rb750:green:act" "1"
175 ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
176 ucidef_set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
177 ucidef_set_led_switch "port3" "port3" "rb750:green:port3" "switch0" "0x08"
178 ucidef_set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
179 ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
180 ;;
181
182 rb-2011l|\
183 rb-2011uas|\
184 rb-2011uias|\
185 rb-2011uas-2hnd|\
186 rb-2011uias-2hnd)
187 ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20"
188 ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10"
189 ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08"
190 ucidef_set_led_switch "eth9" "ETH9" "rb:green:eth9" "switch1" "0x04"
191 ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
192 ;;
193
194 dhp-1565-a1)
195 ucidef_set_led_switch "wan" "WAN" "d-link:green:planet" "switch0" "0x20"
196 ;;
197
198 dir-505-a1)
199 ucidef_set_led_netdev "lan" "LAN" "d-link:green:power" "eth1"
200 ;;
201
202 dir-600-a1|\
203 dir-615-e1|\
204 dir-615-e4)
205 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
206 ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
207 ucidef_set_led_switch "lan2" "LAN2" "d-link:green:lan2" "switch0" "0x04"
208 ucidef_set_led_switch "lan3" "LAN3" "d-link:green:lan3" "switch0" "0x08"
209 ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
210 ;;
211
212 dir-615-c1)
213 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
214 ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
215 ;;
216
217 dir-825-b1)
218 ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
219 ;;
220
221 dir-615-i1)
222 ucidef_set_led_default "power" "POWER" "d-link:green:power" "1"
223 ucidef_set_led_default "diag" "DIAG" "d-link:amber:power" "0"
224 ucidef_set_led_default "wps" "WPS" "d-link:blue:wps" "0"
225 ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth0"
226 ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
227 ;;
228
229 dir-825-c1)
230 ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
231 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
232 ;;
233
234 dlan-hotspot)
235 ucidef_set_led_wlan "wlan" "WLAN" "devolo:green:wifi" "phy0tpt"
236 ;;
237
238 dlan-pro-500-wp)
239 ucidef_set_led_default "power" "System Power" "devolo:green:status" "1"
240 ucidef_set_led_netdev "lan" "Ethernet Activity" "devolo:green:eth" "br-lan"
241 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "devolo:green:wlan-2g" "phy0tpt"
242 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "devolo:blue:wlan-5g" "none"
243 ;;
244
245 dlan-pro-1200-ac)
246 ucidef_set_led_wlan "wlan" "WLAN" "devolo:status:wlan" "phy0radio"
247 ucidef_set_led_gpio "plcw" "dLAN" "devolo:status:dlan" "17" "0"
248 ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0"
249 ;;
250
251 gl-ar150)
252 ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "phy0tpt"
253 ;;
254
255 gl-ar300)
256 ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt"
257 ;;
258
259 gl-domino)
260 ucidef_set_led_wlan "wlan" "WLAN" "domino:blue:wlan" "phy0tpt"
261 ;;
262
263 gl-inet)
264 ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
265 ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
266 ;;
267
268 esr900)
269 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "engenius:blue:wlan-2g" "phy0tpt"
270 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "engenius:blue:wlan-5g" "phy1tpt"
271 ;;
272
273 esr1750)
274 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "esr1750:blue:wlan-2g" "phy1tpt"
275 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "esr1750:blue:wlan-5g" "phy0tpt"
276 ;;
277
278 epg5000)
279 ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "epg5000:blue:wlan-2g" "phy1tpt"
280 ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "epg5000:blue:wlan-5g" "phy0tpt"
281 ;;
282
283 hiwifi-hc6361)
284 ucidef_set_led_netdev "inet" "INET" "hiwifi:blue:internet" "eth1"
285 ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
286 ;;
287
288 hornet-ub | \
289 hornet-ub-x2)
290 ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
291 ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
292 ucidef_set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt"
293 ucidef_set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1"
294 ;;
295
296 mc-mac1200r)
297 ucidef_set_led_wlan "wlan2g" "WLAN2G" "mercury:green:wlan2g" "phy1tpt"
298 ucidef_set_led_wlan "wlan5g" "WLAN5G" "mercury:green:wlan5g" "phy0tpt"
299 ;;
300
301 mr12)
302 ucidef_set_led_netdev "wan" "WAN" "mr12:green:wan" "eth0"
303 ucidef_set_led_wlan "wlan1" "WLAN1" "mr12:green:wifi1" "phy0assoc"
304 ucidef_set_led_wlan "wlan2" "WLAN2" "mr12:green:wifi2" "phy0assoc"
305 ucidef_set_led_wlan "wlan3" "WLAN3" "mr12:green:wifi3" "phy0assoc"
306 ucidef_set_led_wlan "wlan4" "WLAN4" "mr12:green:wifi4" "phy0tpt"
307 ;;
308
309 mr16)
310 ucidef_set_led_netdev "wan" "WAN" "mr16:green:wan" "eth0"
311 ucidef_set_led_wlan "wlan1" "WLAN1" "mr16:green:wifi1" "phy0assoc"
312 ucidef_set_led_wlan "wlan2" "WLAN2" "mr16:green:wifi2" "phy0assoc"
313 ucidef_set_led_wlan "wlan3" "WLAN3" "mr16:green:wifi3" "phy0assoc"
314 ucidef_set_led_wlan "wlan4" "WLAN4" "mr16:green:wifi4" "phy0tpt"
315 ;;
316
317 mr18)
318 ucidef_set_led_netdev "wlan0" "WLAN0" "mr18:blue:tricolor0" "wlan0"
319 ;;
320
321 mr600)
322 ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
323 ;;
324
325 mr1750)
326 ucidef_set_led_netdev "lan" "LAN" "mr1750:blue:wan" "eth0"
327 ucidef_set_led_wlan "wlan58" "WLAN58" "mr1750:blue:wlan58" "phy0tpt"
328 ucidef_set_led_wlan "wlan24" "WLAN24" "mr1750:blue:wlan24" "phy1tpt"
329 ;;
330
331 mr900 | \
332 mr900v2)
333 ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
334 ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
335 ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
336 ;;
337
338 mynet-n600)
339 ucidef_set_led_netdev "wan" "WAN" "wd:blue:internet" "eth1"
340 ucidef_set_led_switch "lan1" "LAN1" "wd:green:lan1" "switch0" "0x02"
341 ucidef_set_led_switch "lan2" "LAN2" "wd:green:lan2" "switch0" "0x10"
342 ucidef_set_led_switch "lan3" "LAN3" "wd:green:lan3" "switch0" "0x08"
343 ucidef_set_led_switch "lan4" "LAN4" "wd:green:lan4" "switch0" "0x04"
344 ;;
345
346 mynet-rext)
347 ucidef_set_led_netdev "lan" "LAN" "wd:blue:ethernet" "eth0"
348 ucidef_set_rssimon "wlan0" "40000" "1"
349 ucidef_set_led_rssi "rssilow" "RSSILOW" "wd:blue:quality1" "wlan0" "1" "40" "0" "6"
350 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "wd:blue:quality2" "wlan0" "30" "80" "-29" "5"
351 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "wd:blue:quality3" "wlan0" "70" "100" "-69" "8"
352 ucidef_set_led_wlan "wlan" "WLAN" "wd:blue:wireless" "phy0tpt"
353 ;;
354
355 mzk-w04u)
356 ucidef_set_led_usbdev "usb" "USB" "planex:green:usb" "1-1"
357 ;;
358
359 mzk-w300nh)
360 ucidef_set_led_wlan "wlan" "WLAN" "planex:green:wlan" "phy0tpt"
361 ;;
362
363 nbg460n_550n_550nh)
364 ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
365 ;;
366
367 nbg6616)
368 ucidef_set_led_wlan "wlan" "WLAN" "nbg6616:green:wifi2g" "phy1tpt"
369 ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6616:green:wifi5g" "phy0tpt"
370 ucidef_set_led_usbdev "usb1" "USB1" "nbg6616:green:usb1" "1-1"
371 ucidef_set_led_usbdev "usb2" "USB2" "nbg6616:green:usb2" "2-1"
372 ;;
373
374 nbg6716)
375 ucidef_set_led_netdev "wan" "WAN" "nbg6716:white:internet" "eth1"
376 ucidef_set_led_wlan "wlan" "WLAN" "nbg6716:white:wifi2g" "phy1tpt"
377 ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6716:white:wifi5g" "phy0tpt"
378 ucidef_set_led_usbdev "usb1" "USB1" "nbg6716:white:usb1" "1-1"
379 ucidef_set_led_usbdev "usb2" "USB2" "nbg6716:white:usb2" "2-1"
380 ;;
381
382 om2p | \
383 om2pv2 | \
384 om2p-hs | \
385 om2p-hsv2 | \
386 om2p-lc)
387 ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
388 ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
389 ;;
390
391 om5p | \
392 om5p-an)
393 ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
394 ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
395 ;;
396
397 om5p-ac)
398 ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
399 ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
400 ;;
401
402 omy-g1)
403 ucidef_set_led_wlan "wlan" "WLAN" "omy:green:wlan" "phy0tpt"
404 ucidef_set_led_netdev "wan" "WAN" "omy:green:wan" "eth0"
405 ucidef_set_led_netdev "lan" "LAN" "omy:green:lan" "eth1"
406 ;;
407
408 omy-x1)
409 ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
410 ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
411 ;;
412
413 qihoo-c301)
414 ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
415 ;;
416
417 smart-300)
418 ucidef_set_led_netdev "wan" "WAN" "nc-link:green:wan" "eth0"
419 ucidef_set_led_switch "lan1" "LAN1" "nc-link:green:lan1" "switch0" "0x04"
420 ucidef_set_led_switch "lan2" "LAN2" "nc-link:green:lan2" "switch0" "0x08"
421 ucidef_set_led_switch "lan3" "LAN3" "nc-link:green:lan3" "switch0" "0x10"
422 ucidef_set_led_switch "lan4" "LAN4" "nc-link:green:lan4" "switch0" "0x02"
423 ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
424 ;;
425
426 tellstick-znet-lite)
427 ucidef_set_led_netdev "lan_act" "LANACT" "tellstick:green:lan" "eth0" "tx rx"
428 ucidef_set_led_netdev "lan_link" "LANLINK" "tellstick:orange:lan" "eth0" "link"
429 ;;
430
431 tew-712br)
432 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
433 ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
434 ucidef_set_led_switch "lan2" "LAN2" "trendnet:green:lan2" "switch0" "0x04"
435 ucidef_set_led_switch "lan3" "LAN3" "trendnet:green:lan3" "switch0" "0x08"
436 ucidef_set_led_switch "lan4" "LAN4" "trendnet:green:lan4" "switch0" "0x10"
437 ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
438 ;;
439
440 tew-732br)
441 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
442 ;;
443
444 tew-823dru)
445 ucidef_set_led_netdev "wan" "WAN" "trendnet:green:planet" "eth0"
446 ;;
447
448 tl-mr11u | \
449 tl-mr3020 | \
450 tl-mr3040 | \
451 tl-mr3040-v2)
452 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
453 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
454 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
455 ;;
456
457 tl-mr3220 | \
458 tl-mr3420 )
459 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
460 ;;
461
462 tl-mr3220-v2)
463 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
464 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
465 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
466 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
467 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
468 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
469 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
470 ;;
471
472 tl-mr3420-v2)
473 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
474 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
475 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
476 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
477 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
478 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
479 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
480 ;;
481
482 tl-wa7210n-v2)
483 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
484 ucidef_set_rssimon "wlan0" "40000" "1"
485 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:signal1" "wlan0" "1" "100" "0" "13"
486 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:signal2" "wlan0" "26" "100" "-25" "13"
487 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:signal3" "wlan0" "51" "100" "-50" "13"
488 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:signal4" "wlan0" "76" "100" "-75" "13"
489 ;;
490
491 tl-wa750re)
492 ucidef_set_led_netdev "lan" "LAN" "tp-link:orange:lan" "eth0"
493 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:orange:wlan" "phy0tpt"
494 ucidef_set_rssimon "wlan0" "40000" "1"
495 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:orange:signal1" "wlan0" "1" "100" "0" "13"
496 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:orange:signal2" "wlan0" "20" "100" "-19" "13"
497 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:orange:signal3" "wlan0" "40" "100" "-39" "13"
498 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13"
499 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13"
500 ;;
501
502 tl-wa850re)
503 ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
504 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
505 ucidef_set_rssimon "wlan0" "40000" "1"
506 ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:blue:signal1" "wlan0" "1" "100" "0" "13"
507 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:blue:signal2" "wlan0" "20" "100" "-19" "13"
508 ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:blue:signal3" "wlan0" "40" "100" "-39" "13"
509 ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:blue:signal4" "wlan0" "60" "100" "-59" "13"
510 ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:blue:signal5" "wlan0" "80" "100" "-79" "13"
511 ;;
512
513 tl-wa701nd-v2)
514 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
515 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
516 ;;
517
518 tl-wa860re)
519 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
520 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
521 ;;
522
523 tl-wa901nd)
524 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
525 ;;
526
527 tl-wa901nd-v2)
528 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
529 ;;
530
531 tl-wdr3320-v2)
532 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:green:wlan5g" "phy0tpt"
533 ;;
534
535 tl-wdr3500)
536 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
537 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"
538 ;;
539
540 tl-wdr4300)
541 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1.1"
542 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "1-1.2"
543 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
544 ;;
545
546 tl-wdr4900-v2)
547 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
548 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
549 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
550 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt"
551 ;;
552
553 tl-wdr6500-v2)
554 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
555 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
556 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
557 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
558 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
559 ;;
560
561 archer-c5|\
562 archer-c7)
563 ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
564 ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
565 ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt"
566 ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt"
567 ;;
568
569 tl-wr741nd)
570 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
571 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
572 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
573 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
574 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
575 ;;
576
577 tl-wr741nd-v4)
578 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
579 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
580 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
581 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
582 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
583 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
584 ;;
585
586 tl-wr841n-v8 | \
587 tl-wr941nd-v5)
588 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
589 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
590 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
591 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
592 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
593 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
594 ;;
595
596 tl-wr941nd-v6)
597 ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
598 ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
599 ucidef_set_led_switch "lan2" "LAN2" "tp-link:blue:lan2" "switch0" "0x08"
600 ucidef_set_led_switch "lan3" "LAN3" "tp-link:blue:lan3" "switch0" "0x04"
601 ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
602 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
603 ;;
604
605 tl-wa830re-v2)
606 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
607 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
608 ;;
609
610 tl-wr841n-v9)
611 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
612 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
613 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
614 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
615 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
616 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
617 ;;
618
619 tl-wr842n-v2)
620 ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
621 ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
622 ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
623 ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
624 ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
625 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
626 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
627 ;;
628
629 tl-wa801nd-v2 | \
630 tl-wa901nd-v3)
631 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
632 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
633 ;;
634
635 tl-wa901nd-v4)
636 ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
637 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
638 ;;
639
640 tl-wr941nd | \
641 tl-wr1041n-v2)
642 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
643 ;;
644
645 tl-wr1043nd | \
646 tl-wr1043nd-v2)
647 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
648 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
649 ;;
650
651 tl-wr2543n)
652 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
653 ;;
654
655 tube2h)
656 ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
657 ucidef_set_rssimon "wlan0" "40000" "1"
658 ucidef_set_led_rssi "signal1" "SIGNAL1" "alfa:red:signal1" "wlan0" "1" "100" "0" "13"
659 ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13"
660 ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13"
661 ucidef_set_led_rssi "signal4" "SIGNAL4" "alfa:green:signal4" "wlan0" "76" "100" "-75" "13"
662 ;;
663
664 wrt160nl)
665 ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
666 ;;
667
668 wndap360)
669 ucidef_set_led_power "power" "POWER GREEN" "netgear:green:power" "1"
670 ;;
671
672 wndr3700)
673 ucidef_set_led_default "wan" "WAN LED (green)" "netgear:green:wan" "0"
674 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
675 ;;
676
677 r6100)
678 ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0"
679 ucidef_set_led_usbdev "usb" "USB" "netgear:blue:usb" "1-1"
680 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy1tpt"
681 ;;
682
683 wndr3700v4 | \
684 wndr4300)
685 ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2"
686 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
687 ucidef_set_led_wlan "wlan2g" "WLAN2G" "netgear:green:wlan2g" "phy0tpt"
688 ucidef_set_led_wlan "wlan5g" "WLAN5G" "netgear:blue:wlan5g" "phy1tpt"
689 ;;
690
691 whr-g301n |\
692 whr-hp-g300n |\
693 whr-hp-gn)
694 ucidef_set_led_netdev "wan" "WAN" "buffalo:green:wan" "eth1"
695 ucidef_set_led_switch "lan1" "LAN1" "buffalo:green:lan1" "switch0" "0x02"
696 ucidef_set_led_switch "lan2" "LAN2" "buffalo:green:lan2" "switch0" "0x04"
697 ucidef_set_led_switch "lan3" "LAN3" "buffalo:green:lan3" "switch0" "0x08"
698 ucidef_set_led_switch "lan4" "LAN4" "buffalo:green:lan4" "switch0" "0x10"
699 ;;
700
701 wlae-ag300n)
702 ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0"
703 ;;
704
705 wnr1000-v2 |\
706 wnr2000-v3)
707 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
708 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
709 ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
710 ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
711 ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
712 ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
713 ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
714 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
715 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
716 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
717 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
718 ;;
719
720 wnr2000-v4)
721 ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
722 ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
723 ucidef_set_led_switch "lan1" "LAN1" "netgear:amber:lan1" "switch0" "0x02"
724 ucidef_set_led_switch "lan2" "LAN2" "netgear:amber:lan2" "switch0" "0x04"
725 ucidef_set_led_switch "lan3" "LAN3" "netgear:amber:lan3" "switch0" "0x08"
726 ucidef_set_led_switch "lan4" "LAN4" "netgear:amber:lan4" "switch0" "0x10"
727 ucidef_set_led_usbdev "usb" "USB" "netgear:amber:status" "1-1"
728 ;;
729
730 wnr2200)
731 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
732 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
733 ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
734 ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
735 ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
736 ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
737 ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
738 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
739 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
740 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
741 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
742 ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
743 ;;
744
745 wnr612-v2)
746 ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
747 ucidef_set_led_netdev "wlan" "WLAN" "netgear:green:wlan" "wlan0"
748 ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f"
749 ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
750 ;;
751
752 wpn824n)
753 ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
754 ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
755 ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02"
756 ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04"
757 ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08"
758 ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10"
759 ucidef_set_led_default "lan1green" "LAN1 (green)" "netgear:green:lan1" "0"
760 ucidef_set_led_default "lan2green" "LAN2 (green)" "netgear:green:lan2" "0"
761 ucidef_set_led_default "lan3green" "LAN3 (green)" "netgear:green:lan3" "0"
762 ucidef_set_led_default "lan4green" "LAN4 (green)" "netgear:green:lan4" "0"
763 ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
764 ucidef_set_led_default "wps1" "WPS1" "netgear:blue:wps1" "0"
765 ucidef_set_led_default "wps2" "WPS2" "netgear:blue:wps2" "0"
766 ucidef_set_led_default "status" "STATUS" "netgear:amber:status" "0"
767 ucidef_set_led_default "test" "TEST" "netgear:amber:test" "0"
768 ;;
769
770 wzr-hp-ag300h)
771 ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
772 ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1"
773 ucidef_set_led_usbdev "usb" "USB" "buffalo:green:usb" "1-1"
774 ;;
775
776 wzr-hp-g300nh)
777 ucidef_set_led_wlan "wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
778 ucidef_set_led_netdev "router" "Router" "buffalo:green:router" "eth1"
779 ucidef_set_led_usbdev "usb" "USB" "buffalo:blue:usb" "1-1"
780 ;;
781
782 zcn-1523h-2)
783 ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
784 ;;
785
786 zcn-1523h-5)
787 ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
788 ucidef_set_led_netdev "lan2" "lan2" "zcn-1523h:green:lan2" "eth1"
789 ;;
790 esac
791
792 board_config_flush
793
794 exit 0