installer: fix *nomp=1, remove floppy nonsense from stop.
This commit is contained in:
parent
d3b1a7de34
commit
1c63dadd35
3 changed files with 4 additions and 40 deletions
|
@ -30,7 +30,7 @@ case go
|
||||||
echo 'monitor='^$monitor
|
echo 'monitor='^$monitor
|
||||||
echo 'vgasize='^$vgasize
|
echo 'vgasize='^$vgasize
|
||||||
if(test -f '#ec/*nomp')
|
if(test -f '#ec/*nomp')
|
||||||
echo '*nomp='
|
echo '*nomp=1'
|
||||||
} >/tmp/plan9.ini
|
} >/tmp/plan9.ini
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,7 @@ case checkdone
|
||||||
export finish
|
export finish
|
||||||
|
|
||||||
case go
|
case go
|
||||||
if(~ $cdboot yes){
|
|
||||||
echo 'Congratulations; you''ve completed the install.'
|
echo 'Congratulations; you''ve completed the install.'
|
||||||
echo
|
echo
|
||||||
halt
|
halt
|
||||||
}
|
|
||||||
stop go finished
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,37 +14,4 @@ case checkready
|
||||||
stop=notdone
|
stop=notdone
|
||||||
export stop
|
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.'
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue