Make sure tty6 is defined in /etc/inittab for xstartup
[grml-autoconfig.git] / grml-autoconfig
index 9505e22..433a8e0 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Aug 04 12:13:13 CEST 2006 [mika]
+# Latest change: Mit Apr 04 21:34:05 CEST 2007 [mika]
 ################################################################################
 
 # http://wiki.debian.org/LSBInitScripts =>
@@ -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
@@ -102,6 +111,8 @@ checkvalue $CONFIG_KERNEL &&  config_kernel
 
 checkvalue $CONFIG_VMWARE &&  config_vmware
 
+checkvalue $CONFIG_QEMU && config_qemu
+
 checkvalue $CONFIG_SMALL && config_small
 
 checkvalue $CONFIG_LD_MOD && config_ld_mod
@@ -191,6 +202,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
@@ -239,6 +252,8 @@ checkvalue $CONFIG_AUTOMOUNT && config_automount
 
 checkvalue $CONFIG_DISTCC && config_distcc
 
+checkvalue $CONFIG_DISTRI && config_distri
+
 checkvalue $CONFIG_BLANKING && config_blanking
 
 [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "|||||||||||">/dev/tty7