Improve look and feel of booting message
authorMichael Prokop <devnull@localhost>
Sat, 16 Aug 2008 09:58:38 +0000 (11:58 +0200)
committerMichael Prokop <devnull@localhost>
Sat, 16 Aug 2008 09:58:38 +0000 (11:58 +0200)
debian/changelog
etc/grml/fai/live-initramfs/grml-script.init-top

index b181dd9..47ea490 100644 (file)
@@ -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 <mika@grml.org>  Sat, 26 Jul 2008 19:28:23 +0200
+ -- Michael Prokop <mika@grml.org>  Sat, 16 Aug 2008 11:58:11 +0200
 
 grml-live (0.8) unstable; urgency=low
 
index 78d65aa..a9bd284 100755 (executable)
@@ -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 </dev/null 2>&1