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"
93 status_led
="$board:green:run"
99 status_led
="$board:green:wps"
103 status_led
="$board:white:wps"
106 status_led
="$board:yellow:status"
110 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"
149 status_led
="$board:blue:system"
153 [ "$1" = "upgrade" ] && status_led
="mediatek:orange:wifi"
156 status_led
="$board:blue:wifi"
161 status_led
="$board:blue:status"
165 status_led
="$board:red:status"
168 status_led
="$board:amber:status"
171 status_led
="$board:white:power"
174 status_led
="$board:amber:cpu"
177 status_led
="$board:blue:status"
181 status_led
="$board:amber:system"
186 status_led
="$board:green:wifi"
189 status_led
="$board:red:wan"
196 status_led
="$board:orange:wifi"
206 status_led
="$board:green:wps"
209 status_led
="$board:blue:pwr"
212 status_led
="$board:green:usb"
215 status_led
="$board:green:security"
218 status_led
="$board:fuchsia:status"
223 status_led
="$board:green:sys"
227 status_led
="$board:amber:power"
231 status_led
="$board:red:power"
234 status_led
="$board:green:router"
237 status_led
="$board::run"
242 status_led
="$board:green:power"
247 status_led
="wrtnode:blue:indicator"
250 status_led
="$board:green:4g-0"
260 status_led_blink_preinit
263 status_led_blink_failsafe
267 status_led_blink_preinit_regular