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
="mercury:green:system"
112 status_led
="mr600:orange:power"
115 status_led
="mr600:blue:power"
119 status_led
="mr900:blue:power"
123 status_led
="wd:blue:power"
126 status_led
="wd:blue:power"
130 status_led
="planex:green:status"
133 status_led
="nbg460n:green:power"
136 status_led
="zyxel:white:power"
143 status_led
="om2p:blue:power"
146 status_led
="om5p:blue:power"
149 status_led
="pb44:amber:jump1"
154 status_led
="rb:green:usr"
156 rb-411 | rb-411u | rb-433 | rb-433u | rb-450 | rb-450g | rb-493
)
157 status_led
="rb4xx:yellow:user"
160 status_led
="rb750:green:act"
166 status_led
="rb:green:user"
169 status_led
="rb:green:act"
173 status_led
="rb:green:power"
175 routerstation | routerstation-pro
)
176 status_led
="ubnt:green:rf"
179 status_led
="rw2458n:green:d3"
182 status_led
="nc-link:green:system"
185 status_led
="oolite:red:system"
188 status_led
="qihoo:green:status"
191 status_led
="tew-632brp:green:status"
194 status_led
="trendnet:blue:wps"
198 status_led
="trendnet:green:power"
201 status_led
="tp-link:green:wps"
204 status_led
="tp-link:orange:re"
207 status_led
="tp-link:blue:re"
210 status_led
="tp-link:green:power"
234 status_led
="tp-link:green:system"
246 status_led
="tp-link:blue:system"
249 status_led
="tp-link:green:qss"
252 status_led
="tp-link:green:wps"
255 status_led
="alfa:green:signal4"
258 status_led
="ubnt:green:dome"
261 status_led
="ubnt:white:dome"
264 status_led
="ubnt:white:front"
267 status_led
="ubnt:white:status"
273 status_led
="buffalo:green:router"
276 status_led
="buffalo:green:status"
280 status_led
="buffalo:red:diag"
291 status_led
="netgear:green:power"
294 status_led
="wp543:green:diag"
297 status_led
="wrt400n:blue:wps"
300 status_led
="wrt160nl:blue:wps"
302 zcn-1523h-2 | zcn-1523h-5
)
303 status_led
="zcn-1523h:amber:init"
306 status_led
="sitecom:amber:status"
316 status_led_blink_preinit
319 status_led_blink_failsafe
322 status_led_blink_preinit_regular
326 case $
(ar71xx_board_name
) in
328 local n
=$
(fw_printenv activeregion | cut
-d = -f 2)
329 fw_setenv
"image${n}trynum" 0