X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Flive-initramfs%2Fgrml-script.init-top;h=367f79f8534bdcdb2f768133bc412a0af359a9e5;hb=3a3e2c9f200e7eccf7842b33510b78a12b45e19b;hp=78d65aa1527c9c795633309e498d756e47c35517;hpb=0de14d6dabc6bfa98934c2340f28dd9da6b479da;p=grml-live-grml.git diff --git a/etc/grml/fai/live-initramfs/grml-script.init-top b/etc/grml/fai/live-initramfs/grml-script.init-top index 78d65aa..367f79f 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,13 +113,18 @@ ${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 + +if [ -n "$GRML_VERSION" ] ; then + log_grml_begin_msg "Running $GRML_VERSION" + echo +fi # don't output anything if running with bootsplash feature if checkbootparam "splash" ; then