When a fatal error occurs, we'd better drop into a shell instead of having it sleep for 3600 seconds.
Signed-off-by: Chen Qi <[email protected]> --- .../initrdscripts/initramfs-framework/init | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index 95fa9fb..1e3c14c 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init @@ -56,10 +56,7 @@ debug() { fatal() { echo $1 >/dev/console echo >/dev/console - - while [ "true" ]; do - sleep 3600 - done + exec sh } # Variables shared amoung modules -- 1.7.9.5 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
