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