X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=components%2F9990-initramfs-tools.sh;h=4323211062eee9b0300722b1c4e06dd7dd5bfcd6;hb=4fa5c227e5ec0dab934c5895da9d2f172593ad60;hp=cdb00db7dbebf7b84ab1c397abd5e28d6f26b0ae;hpb=be8d3d25c7bd9c346767c12291722832cb1b03b7;p=live-boot-grml.git diff --git a/components/9990-initramfs-tools.sh b/components/9990-initramfs-tools.sh index cdb00db..4323211 100755 --- a/components/9990-initramfs-tools.sh +++ b/components/9990-initramfs-tools.sh @@ -2,17 +2,6 @@ #set -e -# we definitely want this stuff visible -log_failure_msg() -{ - printf "Failure: $@\n" -} - -log_warning_msg() -{ - printf "Warning: $@\n" -} - log_wait_msg () { # Print a message and wait for enter @@ -67,10 +56,9 @@ panic() printf " Please file a bug at your distributors bug tracking system, making\n" printf " sure to note the exact version, name and distribution of the image\n" - printf " you were attempting to boot.\n\n" + printf " you were attempting to boot, as well as the content of /proc/cmdline.\n\n" - if [ -r /etc/grml_version ] - then + if [ -r /etc/grml_version ]; then GRML_VERSION="$(cat /etc/grml_version)" printf " $GRML_VERSION\n\n" fi