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:
Jan Luebbe 2015-07-02 11:42:30 +02:00 committed by Holger Hans Peter Freyther
parent e8097c044e
commit 2cd82376d9
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ fatal() {
echo >/dev/console
msg "fatal error: rebooting"
sleep 3
reboot -f
}