With this commit, the status-led is set to be the "led-running" device-tree alias for targets which do not implement the get_status_led method in /etc/diag.sh.
18 lines
208 B
Bash
Executable File
18 lines
208 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=96
|
|
|
|
start() {
|
|
/etc/init.d/led start
|
|
|
|
. /etc/diag.sh
|
|
|
|
get_status_led 2> /dev/null
|
|
|
|
if [ -z $status_led ]; then
|
|
status_led="$running"
|
|
fi
|
|
|
|
status_led_set_timer 1000 300
|
|
}
|