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