X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Flive-initramfs%2Fgrml-script.init-top;h=1c74bd92a9716c4ba5ee5f56649ff8bbbda40786;hb=82c94c8c5337643ee471e9cbb6358c448baf5896;hp=367f79f8534bdcdb2f768133bc412a0af359a9e5;hpb=3a3e2c9f200e7eccf7842b33510b78a12b45e19b;p=grml-live.git diff --git a/etc/grml/fai/live-initramfs/grml-script.init-top b/etc/grml/fai/live-initramfs/grml-script.init-top index 367f79f..1c74bd9 100755 --- a/etc/grml/fai/live-initramfs/grml-script.init-top +++ b/etc/grml/fai/live-initramfs/grml-script.init-top @@ -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