2 # Copyright (C) 2010-2013 OpenWrt.org
4 . /lib/functions/leds.sh
8 board=$(ramips_board_name)
14 status_led="$board:blue:ap"
37 status_led="$board:green:power"
49 status_led="$board:red:power"
53 status_led="$board:blue:wlan"
78 status_led="$board:green:status"
82 status_led="$board:green:run"
88 status_led="$board:green:wps"
91 status_led="tp-link:blue:power"
95 status_led="$board:white:wps"
98 status_led="$board:blue:status"
102 status_led="$board:blue:wps"
117 status_led="$board:blue:power"
122 status_led="$board:orange:power"
125 status_led="$board:blue:router"
129 status_led="$board:orange:status"
136 status_led="$board:blue:system"
140 [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi"
143 status_led="$board:blue:wifi"
147 status_led="$board:blue:status"
152 status_led="$board:red:status"
155 status_led="$board:amber:status"
158 status_led="$board:amber:cpu"
161 status_led="$board:blue:status"
166 status_led="$board:green:wifi"
169 status_led="$board:red:wan"
177 status_led="$board:orange:wifi"
187 status_led="$board:green:wps"
190 status_led="$board:green:usb"
193 status_led="$board:green:security"
198 status_led="$board:green:sys"
202 status_led="$board:amber:power"
206 status_led="$board:green:router"
209 status_led="$board::run"
213 status_led="$board:green:power"
218 status_led="wrtnode:blue:indicator"
221 status_led="$board:green:4g-0"
231 status_led_blink_preinit
234 status_led_blink_failsafe
238 status_led_blink_preinit_regular