2 # Copyright (C) 2010-2013 OpenWrt.org
4 .
/lib
/functions
/leds.sh
8 board
=$
(ramips_board_name
)
14 status_led
="$board:blue:ap"
33 status_led
="$board:green:power"
44 status_led
="$board:red:power"
48 status_led
="$board:blue:wlan"
72 status_led
="$board:green:status"
76 status_led
="$board:green:run"
81 status_led
="$board:green:wps"
85 status_led
="$board:white:wps"
89 status_led
="$board:blue:wps"
104 status_led
="$board:blue:power"
108 status_led
="$board:orange:power"
111 status_led
="$board:blue:router"
114 status_led
="$board:orange:status"
121 status_led
="$board:blue:system"
125 [ "$1" = "upgrade" ] && status_led
="mediatek:orange:wifi"
128 status_led
="$board:blue:wifi"
132 status_led
="$board:blue:status"
136 status_led
="$board:red:status"
139 status_led
="$board:amber:status"
142 status_led
="$board:amber:cpu"
146 status_led
="$board:green:wifi"
149 status_led
="$board:red:wan"
156 status_led
="$board:orange:wifi"
166 status_led
="$board:green:wps"
169 status_led
="$board:green:usb"
172 status_led
="$board:green:security"
177 status_led
="$board:green:sys"
181 status_led
="$board:amber:power"
185 status_led
="$board:green:router"
188 status_led
="$board::run"
192 status_led
="$board:orange:diag"
197 status_led
="wrtnode:blue:indicator"
207 status_led_blink_preinit
210 status_led_blink_failsafe
214 status_led_blink_preinit_regular