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