Fix cosmetic typo in /etc/grml/fai/live-initramfs/grml-script.init-top
[grml-live.git] / etc / grml / fai / live-initramfs / grml-script.init-top
index 367f79f..5afaca4 100755 (executable)
@@ -1,5 +1,22 @@
 #!/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
@@ -98,6 +115,10 @@ if [ -r /etc/grml_version ] ; then
    GRML_VERSION="$(cat /etc/grml_version)"
 fi
 
+if checkbootparam "quiet" ; then
+    echo -e "${CLEAR}"
+fi
+
 if [ -n "$DISTRI" ] ; then
 SPLASH="
 ${RED} $DISTRI
@@ -140,7 +161,7 @@ fi
 
 # Make sure we support squashfs:
 if ! grep -q squashfs /proc/filesystems ; then
-   modprobe -q squashfs || log_grml_failure_msg "Warning: look like you do not have support for squashfs"
+   modprobe -q squashfs || log_grml_failure_msg "Warning: looks like you do not have support for squashfs"
 fi
 
 if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then