config_swraid: use mkconf for generation of mdadm.conf
[grml-autoconfig.git] / grml-autoconfig
index 9505e22..f663cd5 100755 (executable)
@@ -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