From: Michael Prokop Date: Tue, 28 Jun 2016 07:43:13 +0000 (+0200) Subject: components/9990-initramfs-tools.sh: drop unused functions, mention /proc/cmdline... X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=4fa5c227e5ec0dab934c5895da9d2f172593ad60;hp=26d4935079f55456b0212c4e1bec6438bed58c6c;p=live-boot-grml.git components/9990-initramfs-tools.sh: drop unused functions, mention /proc/cmdline in failure message --- 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