2 # Copyright (C) 2007 OpenWrt.org
4 # This setup gives us 4.5 distinguishable states:
6 # Solid OFF: Bootloader running, or kernel hung (timer task stalled)
7 # Solid ON: Kernel hung (timer task stalled)
10 # Heartbeat: normal operation
15 [ -d /sys
/class
/leds
/status
] && {
16 echo timer
>/sys
/class
/leds
/status
/trigger
17 echo 100 >/sys
/class
/leds
/status
/delay_on
18 echo 100 >/sys
/class
/leds
/status
/delay_off
22 [ -d /sys
/class
/leds
/status
] && {
23 echo timer
>/sys
/class
/leds
/status
/trigger
24 echo 50 >/sys
/class
/leds
/status
/delay_on
25 echo 50 >/sys
/class
/leds
/status
/delay_off
29 [ -d /sys
/class
/leds
/status
] && {
30 echo heartbeat
>/sys
/class
/leds
/status
/trigger
This page took 0.047055 seconds and 5 git commands to generate.