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
This commit is contained in:
kueller 2010-07-04 14:26:52 +00:00
parent be932573aa
commit 34805001bd

View File

@ -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() {