Currently if a system administrator uses "panic=60 break=top" boot options initramfs prints
Spawning shell within the initramfs but does not actually spawn the shell since panic= disallows that. This patch explicitely informs the user about the reboot and hints that by reminving panic= he/she can get break= debugging to work. Signed-off-by: Timo Juhani Lindfors <[email protected]> diff --git a/scripts/functions b/scripts/functions index 025001f..579696a 100644 --- a/scripts/functions +++ b/scripts/functions @@ -40,6 +40,7 @@ panic() echo "$@" # Disallow console access if [ -n "${panic}" ]; then + echo "Rebooting automatically due to panic= option" sleep ${panic} reboot fi -- 1.7.2.3 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

