mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 19:46:29 +00:00
fix reboot
This commit is contained in:
parent
55000d11b9
commit
634956ff45
@ -329,7 +329,7 @@ if [ $RESINHUP_EXIT -eq 0 ] || [ $RESINHUP_EXIT -eq 2 ] || [ $RESINHUP_EXIT -eq
|
|||||||
# Everything is fine - Reboot
|
# Everything is fine - Reboot
|
||||||
if [ "$NOREBOOT" == "no" ]; then
|
if [ "$NOREBOOT" == "no" ]; then
|
||||||
log "Rebooting board in 5 seconds..."
|
log "Rebooting board in 5 seconds..."
|
||||||
nohup bash -c " /bin/sleep 5 ; /sbin/reboot " &
|
nohup bash -c " /bin/sleep 5 ; /sbin/reboot " > /dev/null 2>&1 &
|
||||||
else
|
else
|
||||||
log "'No-reboot' requested."
|
log "'No-reboot' requested."
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user