From 2cd82376d96ab1af60d88ac4bca248ff2acaaf2b Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 2 Jul 2015 11:42:30 +0200 Subject: [PATCH] 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. --- recipes-core/initrdscripts/initramfs-framework/init | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/initrdscripts/initramfs-framework/init b/recipes-core/initrdscripts/initramfs-framework/init index fc12991..07530e3 100755 --- a/recipes-core/initrdscripts/initramfs-framework/init +++ b/recipes-core/initrdscripts/initramfs-framework/init @@ -58,6 +58,7 @@ fatal() { echo >/dev/console msg "fatal error: rebooting" + sleep 3 reboot -f }