mirror of https://github.com/hak5/openwrt-owl.git
base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466owl
parent
d391ca2c8c
commit
a5fdf57a1b
|
@ -61,7 +61,11 @@ set_state() {
|
|||
status_led_set_timer 50 50
|
||||
;;
|
||||
done)
|
||||
if [ "$status_led" = "power" ]; then
|
||||
status_led_on
|
||||
else
|
||||
status_led_off
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue