#!/bin/sh
+# prereq header {{{
+# without this header booting will fail with:
+# "PANIC: Circular dependancy. Exiting."
+PREREQ=""
+prereqs()
+{
+ echo "$PREREQ"
+}
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+# }}}
+
# helper functions {{{
if grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then
echo ""
echo "${WHITE}Welcome to"
echo "$SPLASH"
-
-echo
-log_grml_begin_msg "Running $GRML_VERSION"
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
exec >/dev/null </dev/null 2>&1