initramfs-framework: make sure console messages are visible on reboot
The serial console may take some time to send the messages, so sleep a moment before rebooting.
This commit is contained in:
parent
e8097c044e
commit
2cd82376d9
|
@ -58,6 +58,7 @@ fatal() {
|
||||||
echo >/dev/console
|
echo >/dev/console
|
||||||
|
|
||||||
msg "fatal error: rebooting"
|
msg "fatal error: rebooting"
|
||||||
|
sleep 3
|
||||||
reboot -f
|
reboot -f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue