From 34805001bd7bb9aa4123fbe4e0152876342ee30f Mon Sep 17 00:00:00 2001 From: kueller Date: Sun, 4 Jul 2010 14:26:52 +0000 Subject: [PATCH] Wenn /tmp/NOQEST existiert, wird jetzt auch nicht nach lilo gefragt... git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorInstall@5736 504e572c-2e33-0410-9681-be2bf7408885 --- .function | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) 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() {