2 # Copyright (C) 2010-2013 OpenWrt.org
4 .
/lib
/functions
/leds.sh
8 board
=$
(ramips_board_name
)
14 status_led
="$board:blue:ap"
32 status_led
="$board:green:power"
41 status_led
="$board:red:power"
45 status_led
="$board:blue:wlan"
68 status_led
="$board:green:status"
72 status_led
="$board:green:run"
76 status_led
="$board:green:wps"
80 status_led
="$board:white:wps"
84 status_led
="$board:blue:wps"
99 status_led
="$board:blue:power"
103 status_led
="$board:orange:power"
106 status_led
="$board:blue:router"
109 status_led
="$board:orange:status"
114 status_led
="$board:blue:system"
118 [ "$1" = "upgrade" ] && status_led
="mediatek:orange:wifi"
121 status_led
="$board:blue:wifi"
125 status_led
="$board:blue:status"
129 status_led
="$board:red:status"
132 status_led
="$board:amber:status"
135 status_led
="$board:amber:cpu"
139 status_led
="$board:green:wifi"
142 status_led
="$board:red:wan"
149 status_led
="$board:orange:wifi"
158 status_led
="$board:green:wps"
161 status_led
="$board:green:usb"
164 status_led
="$board:green:security"
169 status_led
="$board:green:sys"
173 status_led
="$board:amber:power"
177 status_led
="$board:green:router"
180 status_led
="$board::run"
184 status_led
="$board:orange:diag"
189 status_led
="wrtnode:blue:indicator"
199 status_led_blink_preinit
202 status_led_blink_failsafe
206 status_led_blink_preinit_regular