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"
57 status_led
="d-link:green:power"
60 status_led
="d-link:green:status"
63 status_led
="d-link:orange:power"
67 status_led
="d-link:amber:power"
70 status_led
="dragino2:red:system"
73 status_led
="engenius:blue:power"
76 status_led
="eap7660d:green:ds4"
80 status_led
="easylink:green:system"
83 status_led
="gl-connect:green:lan"
86 status_led
="esr1750:amber:power"
89 status_led
="engenius:amber:power"
92 status_led
="hiwifi:blue:system"
95 status_led
="alfa:blue:wps"
99 status_led
="jjplus:green:led1"
102 status_led
="ubnt:green:d22"
105 status_led
="mr600:orange:power"
108 status_led
="mr600:blue:power"
112 status_led
="mr900:blue:power"
116 status_led
="wd:blue:power"
119 status_led
="wd:blue:power"
123 status_led
="planex:green:status"
126 status_led
="nbg460n:green:power"
129 status_led
="nbg6716:white:power"
136 status_led
="om2p:blue:power"
139 status_led
="om5p:blue:power"
142 status_led
="pb44:amber:jump1"
147 status_led
="rb:green:usr"
149 rb-411 | rb-411u | rb-433 | rb-433u | rb-450 | rb-450g | rb-493
)
150 status_led
="rb4xx:yellow:user"
153 status_led
="rb750:green:act"
159 status_led
="rb:green:user"
162 status_led
="rb:green:act"
166 status_led
="rb:green:power"
168 routerstation | routerstation-pro
)
169 status_led
="ubnt:green:rf"
172 status_led
="rw2458n:green:d3"
175 status_led
="nc-link:green:system"
178 status_led
="oolite:red:system"
181 status_led
="qihoo:green:status"
184 status_led
="tew-632brp:green:status"
187 status_led
="trendnet:blue:wps"
191 status_led
="trendnet:green:power"
194 status_led
="tp-link:green:wps"
197 status_led
="tp-link:orange:re"
200 status_led
="tp-link:blue:re"
203 status_led
="tp-link:green:power"
225 status_led
="tp-link:green:system"
236 status_led
="tp-link:blue:system"
239 status_led
="tp-link:green:qss"
242 status_led
="tp-link:green:wps"
245 status_led
="alfa:green:signal4"
248 status_led
="ubnt:green:dome"
251 status_led
="ubnt:white:dome"
254 status_led
="ubnt:white:status"
260 status_led
="buffalo:green:router"
263 status_led
="buffalo:green:status"
267 status_led
="buffalo:red:diag"
277 status_led
="netgear:green:power"
280 status_led
="wp543:green:diag"
283 status_led
="wrt400n:blue:wps"
286 status_led
="wrt160nl:blue:wps"
288 zcn-1523h-2 | zcn-1523h-5
)
289 status_led
="zcn-1523h:amber:init"
292 status_led
="sitecom:amber:status"
302 status_led_blink_preinit
305 status_led_blink_failsafe
309 case $
(ar71xx_board_name
) in
311 local n
=$
(fw_printenv activeregion | cut
-d = -f 2)
312 fw_setenv
"image${n}trynum" 0