X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Flive-initramfs%2Fgrml-script.init-top;h=5ed49b030a50c7f242c61cd53183cbff601c3f61;hb=ff079cd77f0e36d5d754b800a75f1e011769e8ec;hp=ae29383ffa1e8919d9754754f5e21f275fdc3f53;hpb=8dfcd204e18d0a36b0f75cf622c24ad447e9ca1f;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 ae29383..5ed49b0 100755 --- a/etc/grml/fai/live-initramfs/grml-script.init-top +++ b/etc/grml/fai/live-initramfs/grml-script.init-top @@ -2,7 +2,7 @@ # helper functions {{{ -if ! grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then +if grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then echo "debug: scripts/init-top/grml running" fi @@ -127,6 +127,11 @@ if ! grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then [ -r /proc/sys/kernel/printk ] && echo "0" > /proc/sys/kernel/printk 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" +fi + if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS" log_grml_begin_msg "Searching for GRML file, this might take a few seconds..."