Execute config_homedir() only if home-bootoption is set
[grml-autoconfig.git] / grml-autoconfig
index 337c3fc..a45d7c6 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
@@ -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