2 # Copyright (C) 2009-2013 OpenWrt.org
4 .
/lib
/functions
/leds.sh
8 case $
(ar71xx_board_name
) in
10 status_led
="alfa:green:led_8"
13 status_led
="eap7660d:green:ds4"
16 status_led
="ap132:green:status"
20 status_led
="ap136:green:status"
23 status_led
="ap135:green:status"
26 status_led
="ap81:green:status"
29 status_led
="ap83:green:power"
32 status_led
="ap96:green:led2"
35 status_led
="aw-nr580:green:ready"
37 bullet-m | rocket-m | nano-m | nanostation-m | nanostation-m-xw | loco-m-xw
)
38 status_led
="ubnt:green:link4"
41 status_led
="bhu:green:status"
44 status_led
="senao:green:pwr"
47 status_led
="tp-link:green:link4"
50 status_led
="db120:green:status"
58 status_led
="d-link:green:power"
61 status_led
="d-link:green:status"
64 status_led
="d-link:orange:power"
68 status_led
="d-link:amber:power"
71 status_led
="dragino2:red:system"
74 status_led
="engenius:blue:power"
77 status_led
="eap7660d:green:ds4"
81 status_led
="easylink:green:system"
84 status_led
="belkin:blue:status"
87 status_led
="gl-connect:green:lan"
90 status_led
="esr1750:amber:power"
93 status_led
="engenius:amber:power"
96 status_led
="hiwifi:blue:system"
99 status_led
="alfa:blue:wps"
103 status_led
="jjplus:green:led1"
106 status_led
="ubnt:green:d22"
109 status_led
="mr600:orange:power"
112 status_led
="mr600:blue:power"
116 status_led
="mr900:blue:power"
120 status_led
="wd:blue:power"
123 status_led
="wd:blue:power"
127 status_led
="planex:green:status"
130 status_led
="nbg460n:green:power"
133 status_led
="nbg6716:white:power"
140 status_led
="om2p:blue:power"
143 status_led
="om5p:blue:power"
146 status_led
="pb44:amber:jump1"
151 status_led
="rb:green:usr"
153 rb-411 | rb-411u | rb-433 | rb-433u | rb-450 | rb-450g | rb-493
)
154 status_led
="rb4xx:yellow:user"
157 status_led
="rb750:green:act"
163 status_led
="rb:green:user"
166 status_led
="rb:green:act"
170 status_led
="rb:green:power"
172 routerstation | routerstation-pro
)
173 status_led
="ubnt:green:rf"
176 status_led
="rw2458n:green:d3"
179 status_led
="nc-link:green:system"
182 status_led
="oolite:red:system"
185 status_led
="qihoo:green:status"
188 status_led
="tew-632brp:green:status"
191 status_led
="trendnet:blue:wps"
195 status_led
="trendnet:green:power"
198 status_led
="tp-link:green:wps"
201 status_led
="tp-link:orange:re"
204 status_led
="tp-link:blue:re"
207 status_led
="tp-link:green:power"
230 status_led
="tp-link:green:system"
241 status_led
="tp-link:blue:system"
244 status_led
="tp-link:green:qss"
247 status_led
="tp-link:green:wps"
250 status_led
="alfa:green:signal4"
253 status_led
="ubnt:green:dome"
256 status_led
="ubnt:white:dome"
259 status_led
="ubnt:white:front"
262 status_led
="ubnt:white:status"
268 status_led
="buffalo:green:router"
271 status_led
="buffalo:green:status"
275 status_led
="buffalo:red:diag"
285 status_led
="netgear:green:power"
288 status_led
="wp543:green:diag"
291 status_led
="wrt400n:blue:wps"
294 status_led
="wrt160nl:blue:wps"
296 zcn-1523h-2 | zcn-1523h-5
)
297 status_led
="zcn-1523h:amber:init"
300 status_led
="sitecom:amber:status"
310 status_led_blink_preinit
313 status_led_blink_failsafe
316 status_led_blink_preinit_regular
320 case $
(ar71xx_board_name
) in
322 local n
=$
(fw_printenv activeregion | cut
-d = -f 2)
323 fw_setenv
"image${n}trynum" 0