2 # Copyright (C) 2010-2013 OpenWrt.org
4 .
/lib
/functions
/leds.sh
8 board
=$
(ramips_board_name
)
14 status_led
="$board:blue:ap"
43 status_led
="$board:green:power"
46 status_led
="$board:green:internet"
59 status_led
="$board:red:power"
85 status_led
="$board:green:status"
89 status_led
="$board:blue:wlan"
94 status_led
="$board:green:run"
100 status_led
="$board:green:wps"
104 status_led
="$board:white:wps"
107 status_led
="$board:yellow:status"
111 status_led
="$board:blue:wps"
127 status_led
="$board:blue:power"
132 status_led
="$board:orange:power"
135 status_led
="$board:blue:wired"
138 status_led
="$board:blue:router"
142 status_led
="$board:orange:status"
150 status_led
="$board:blue:system"
153 status_led
="$board:white:status"
157 [ "$1" = "upgrade" ] && status_led
="mediatek:orange:wifi"
160 status_led
="$board:blue:wifi"
165 status_led
="$board:blue:status"
169 status_led
="$board:red:status"
172 status_led
="$board:amber:status"
175 status_led
="$board:white:power"
178 status_led
="$board:amber:cpu"
181 status_led
="$board:blue:status"
185 status_led
="$board:amber:system"
190 status_led
="$board:green:wifi"
193 status_led
="$board:red:wan"
200 status_led
="$board:orange:wifi"
210 status_led
="$board:green:wps"
213 status_led
="$board:blue:pwr"
216 status_led
="$board:green:usb"
219 status_led
="$board:green:security"
222 status_led
="$board:fuchsia:status"
227 status_led
="$board:green:sys"
233 status_led
="$board:green:power"
237 status_led
="$board:amber:power"
241 status_led
="$board:red:power"
244 status_led
="$board:green:router"
247 status_led
="$board::run"
252 status_led
="wrtnode:blue:indicator"
255 status_led
="$board:green:4g-0"
265 status_led_blink_preinit
268 status_led_blink_failsafe
272 status_led_blink_preinit_regular