X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-initramfs-tools.sh;h=b2517545a3dfe6b0a712746450e670f89f8c4c3d;hb=36d4a16fbeaeb9939034b5a3db4bd3985739f669;hp=5354134b06fa7ae7f076bdf5ab4a6f53d1fe6105;hpb=a331218718282c5496ff062a0f6aa55908224862;p=live-boot-grml.git diff --git a/components/9990-initramfs-tools.sh b/components/9990-initramfs-tools.sh index 5354134..b251754 100755 --- a/components/9990-initramfs-tools.sh +++ b/components/9990-initramfs-tools.sh @@ -25,7 +25,16 @@ maybe_break() } # Override panic from scripts/functions -panic() { +panic() +{ + for _PARAMETER in ${LIVE_BOOT_CMDLINE} + do + case "${_PARAMETER}" in + panic=*) + panic="${_PARAMETER#*panic=}" + ;; + esac + done DEB_1="\033[1;31m .''\`. \033[0m" DEB_2="\033[1;31m: :' : \033[0m" @@ -45,7 +54,7 @@ panic() { printf "\n" printf " This Live System image failed to boot.\n\n" - printf " Please file a bug against the 'live-boot' package or email the Live Systems\n" + printf " Please file a bug against the 'live-boot' package or email the Debian Live\n" printf " mailing list at , making sure to note the\n" printf " exact version, name and distribution of the image you were attempting to boot.\n\n"