diff --git a/.function b/.function index daa2046..7ac950e 100755 --- a/.function +++ b/.function @@ -310,22 +310,24 @@ make_boot() { mv /tmp/lilo.conf $INSTROOT/etc/lilo.conf print "Add $WINNTHD as WinNT boot to your lilo.conf" fi - print "You can now switch to the new System and edit your lilo.conf" - print "by the way to install a new kernel, or build a new kernel" - print "if you say \"no\", this script will install the CD Boot Kernel" - print "with special boot support for HD" - print "Would you like to edit your lilo.conf ?[Y/n]" - read - if [ ! "$REPLY" == "y" ]; then - $DEBUG chroot $INSTROOT /sbin/lilo - else - print "The root is now changed to the new System for this task" - $DEBUG chroot $INSTROOT /usr/bin/env -i HOME=/root TERM=$TERM /bin/bash --login + if [ ! -f $INSTROOT/tmp/NOQUEST ]; then + print "You can now switch to the new System and edit your lilo.conf" + print "by the way to install a new kernel, or build a new kernel" + print "if you say \"no\", this script will install the CD Boot Kernel" + print "with special boot support for HD" + print "Would you like to edit your lilo.conf ?[Y/n]" + read + if [ ! "$REPLY" == "y" ]; then + $DEBUG chroot $INSTROOT /sbin/lilo + else + print "The root is now changed to the new System for this task" + $DEBUG chroot $INSTROOT /usr/bin/env -i HOME=/root TERM=$TERM /bin/bash --login + fi + $DEBUG umount $INSTROOT/dev + $DEBUG umount $INSTROOT/proc + print "your System is now installed. please remove the CD/DVD" + print "and reboot your System" fi - $DEBUG umount $INSTROOT/dev - $DEBUG umount $INSTROOT/proc - print "your System is now installed. please remove the CD/DVD" - print "and reboot your System" } install_cluster() {