Additional check for boot option debian2hd in config_debootstrap().
authorMichael Prokop <mika@grml.org>
Wed, 29 Dec 2010 00:08:49 +0000 (01:08 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 29 Dec 2010 00:08:49 +0000 (01:08 +0100)
autoconfig.functions

index 6df961c..d2baf4e 100755 (executable)
@@ -2430,7 +2430,7 @@ fi # if checkbootparam "BOOT_IMAGE=grml2hd ...
 # {{{ debootstrap: automatic installation
 config_debootstrap(){
 
 # {{{ debootstrap: automatic installation
 config_debootstrap(){
 
-if checkbootparam "BOOT_IMAGE=debian2hd" ; then
+if checkbootparam "BOOT_IMAGE=debian2hd" || checkbootparam "debian2hd" ; then
 
 einfo "Bootoption debian2hd found. Setting up environment for automatic installation via grml-debootstrap." ; eend 0
 
 
 einfo "Bootoption debian2hd found. Setting up environment for automatic installation via grml-debootstrap." ; eend 0