X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=grml-autoconfig;h=433a8e00f59285b982d577d351af4328a425bda9;hp=43fdeae10c2823f9465a0b10edfccb76bec2267e;hb=aa3273c6fd0d55a28a8ddae6c080cd16a5bce6ca;hpb=efd6786e49003dac27e4ff9f038a1e134ce43cca diff --git a/grml-autoconfig b/grml-autoconfig index 43fdeae..433a8e0 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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 @@ -114,6 +125,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 @@ -187,6 +200,10 @@ checkvalue $CONFIG_HOMEDIR && config_homedir 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 @@ -235,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