base-files: diag.sh: For power button as preinit status led, end with led left on, not off

SVN-Revision: 22466
owl
Daniel Dickinson 2010-08-02 19:33:08 +00:00
parent d391ca2c8c
commit a5fdf57a1b
1 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,11 @@ set_state() {
status_led_set_timer 50 50
;;
done)
status_led_off
if [ "$status_led" = "power" ]; then
status_led_on
else
status_led_off
fi
;;
esac
}