X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=grml-autoconfig;h=a45d7c6b04135fb5d61d82f6ef5e51b718f156cf;hp=337c3fcc8d0abb3a3be4a98446422ce7487ac20b;hb=49c82aea20869a9eff2beb795c2b3505765c1808;hpb=693e026630deb9c4f697dc129714513499603399 diff --git a/grml-autoconfig b/grml-autoconfig index 337c3fc..a45d7c6 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -78,6 +78,15 @@ else echo "6" > /proc/sys/kernel/printk ; eend $? fi +if checkbootparam "forensic" ; then + eerror "Bootopion forensic found. Important notice!" + eerror " Do *not* boot with something like 'grml forensic ...' but with 'forensic ...' instead!" + eerror " To avoid damage to your system a debugshell will be started after a delay of 10 seconds." ; eend 1 + eerror " If you want to continue booting just exit the shell, but think about what you are doing!" ; eend 1 + sleep 10 + rundebugshell +fi + [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "|">/dev/tty7 checkvalue $CONFIG_LANGUAGE && config_language @@ -114,6 +123,8 @@ checkvalue $CONFIG_FAST && config_fast checkvalue $CONFIG_ENVIRONMENT && config_environment +checkvalue $CONFIG_SWRAID && config_swraid + # No kernel messages while probing modules echo "0" > /proc/sys/kernel/printk @@ -189,6 +200,8 @@ checkvalue $CONFIG_MYCONFIG && config_myconfig checkvalue $CONFIG_DEBS && config_debs +checkvalue $CONFIG_SCRIPTS && config_scripts + [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "||||||||">/dev/tty7 checkvalue $CONFIG_CDROM_SCRIPTS && config_cdrom_scripts