7 # Print a message and wait for enter
8 if [ -x /bin/plymouth ] && plymouth --ping
10 plymouth message --text="$@"
11 plymouth watch-keystroke | read nunya
14 _log_msg "Waiting: ${@} ... \n"
17 # Override maybe_break from scripts/functions
20 if [ "${break}" = "$1" ]; then
23 panic "Spawning shell within the initramfs"
27 # Override panic from scripts/functions
30 for _PARAMETER in ${LIVE_BOOT_CMDLINE}
32 case "${_PARAMETER}" in
34 panic="${_PARAMETER#*panic=}"
39 DEB_1="\033[1;31m .''\`. \033[0m"
40 DEB_2="\033[1;31m: :' : \033[0m"
41 DEB_3="\033[1;31m\`. \`'\` \033[0m"
42 DEB_4="\033[1;31m \`- \033[0m"
44 LIVELOG="\033[1;37m/boot.log\033[0m"
45 DEBUG="\033[1;37mdebug\033[0m"
47 # Reset redirections to avoid buffering
53 printf " \033[1;37mBOOT FAILED!\033[0m\n"
55 printf " This Live System image failed to boot.\n\n"
57 printf " Please file a bug against the 'live-boot' package or email the Live Systems\n"
58 printf " mailing list at <debian-live@lists.debian.org>, making sure to note the\n"
59 printf " exact version, name and distribution of the image you were attempting to boot.\n\n"
61 printf " The file ${LIVELOG} contains some debugging information but booting with the\n"
62 printf " ${DEBUG} command-line parameter will greatly increase its verbosity which is\n"
63 printf " extremely useful when diagnosing issues.\n\n"
65 if [ -n "${panic}" ]; then
66 printf " live-boot will now restart your system. "
68 printf " live-boot will now start a shell. "
70 printf "The error message was:\n\n "