From f6f5809bd71d7b9f77a5a6edd23f353e7a25f609 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 16 Aug 2008 11:58:38 +0200 Subject: [PATCH] Improve look and feel of booting message --- debian/changelog | 4 +++- etc/grml/fai/live-initramfs/grml-script.init-top | 11 +++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index b181dd9..47ea490 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,8 +22,10 @@ grml-live (0.9) unstable; urgency=low Thanks for the idea, Marc Haber. [Closes: issue488] * Drop glimpse from GRML_FULL due to license problems, see #474322. + * Improve look and feel of booting message (being + /etc/grml/fai/live-initramfs/grml-script.init-top). - -- Michael Prokop Sat, 26 Jul 2008 19:28:23 +0200 + -- Michael Prokop Sat, 16 Aug 2008 11:58:11 +0200 grml-live (0.8) unstable; urgency=low diff --git a/etc/grml/fai/live-initramfs/grml-script.init-top b/etc/grml/fai/live-initramfs/grml-script.init-top index 78d65aa..a9bd284 100755 --- a/etc/grml/fai/live-initramfs/grml-script.init-top +++ b/etc/grml/fai/live-initramfs/grml-script.init-top @@ -3,7 +3,7 @@ # helper functions {{{ if grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then - echo "debug: scripts/init-top/grml running" + echo "debug: scripts/init-top/grml running">/dev/console fi # get boot command line @@ -95,7 +95,7 @@ FAILED=" ${NORMAL}[${RED}fail${NORMAL}]" DISTRI="$(getbootparam 'distri' 2>/dev/null)" if [ -r /etc/grml_version ] ; then - GRML_VERSION="[$(cat /etc/grml_version)] " + GRML_VERSION="$(cat /etc/grml_version)" fi if [ -n "$DISTRI" ] ; then @@ -113,14 +113,17 @@ ${RED} | | _| |_) | |\/| | | ${RED} | |_| | _ <| | | | |___ ${RED} \____|_| \_\_| |_|_____| -${WHITE}grml.org - Linux for sysadmins and texttool users. -${WHITE}$GRML_VERSION${NORMAL}" +${WHITE}grml.org - Linux for sysadmins and texttool users.${NORMAL}" fi echo "" echo "${WHITE}Welcome to" echo "$SPLASH" +echo +log_grml_begin_msg "Running $GRML_VERSION" +echo + # don't output anything if running with bootsplash feature if checkbootparam "splash" ; then exec >/dev/null &1 -- 2.1.4