X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=grml-autoconfig;h=5500fde889e69434fcb329b5cafe597ff23edca7;hp=43fdeae10c2823f9465a0b10edfccb76bec2267e;hb=8e5e4e1209a0795dc731c1e3ac2cc8efda9d6b2e;hpb=efd6786e49003dac27e4ff9f038a1e134ce43cca diff --git a/grml-autoconfig b/grml-autoconfig index 43fdeae..5500fde 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: Son Mär 25 12:45:38 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