installer: fix *nomp=1, remove floppy nonsense from stop.

This commit is contained in:
stanley lieber 2011-05-09 22:56:02 +00:00
parent d3b1a7de34
commit 1c63dadd35
3 changed files with 4 additions and 40 deletions

View file

@ -30,7 +30,7 @@ case go
echo 'monitor='^$monitor
echo 'vgasize='^$vgasize
if(test -f '#ec/*nomp')
echo '*nomp='
echo '*nomp=1'
} >/tmp/plan9.ini
}

View file

@ -10,10 +10,7 @@ case checkdone
export finish
case go
if(~ $cdboot yes){
echo 'Congratulations; you''ve completed the install.'
echo
halt
}
stop go finished
echo 'Congratulations; you''ve completed the install.'
echo
halt
}

View file

@ -14,37 +14,4 @@ case checkready
stop=notdone
export stop
}
case go
coherence
switch($2){
case finished
echo 'We need to write the state of the current installation to the install floppy,'
echo 'so that you can pick up from here if, for example, you want to set up'
echo 'more boot methods.'
echo
case *
echo 'We need to write the state of the current installation to the install floppy.'
echo 'so that you can pick up from here when you wish to continue.'
echo
}
echo -n 'Please make sure the install floppy is in the floppy drive and press enter.'
read >/dev/null >[2]/dev/null
if(! a:) {
echo 'Couldn''t mount the floppy disk; sorry.'
exit
}
if(cp /tmp/vars /n/a:/9inst.cnf || cp /tmp/vars /n/a:/9inst.cnf) {
echo 'Your install state has been saved to the install floppy.'
if(~ $2 finished){
echo
echo 'Congratulations; you''ve completed the install.'
}
echo
halt
}
echo 'Couldn''t save the state to your install floppy. Sorry.'
}