2 # Copyright (C) 2006 OpenWrt.org
4 .
/lib
/functions
/leds.sh
7 for led
in dmz power diag wps
; do
8 status_led_file
=$
(find /sys
/class
/leds
/ -name "*${led}*" |
head -n1)
9 if [ ! -f $status_led_file ]; then
10 status_led
=$
(basename $status_led_file)
21 status_led_blink_preinit
24 status_led_blink_failsafe
27 status_led_blink_preinit_regular