plan9fox/sys/lib/dist/pc/inst/finish
2011-03-30 19:35:09 +03:00

20 lines
266 B
Bash

#!/bin/rc
# desc: finish the installation and reboot
# prereq: bootsetup
# mustdo:
switch($1) {
case checkdone
finish=ready
export finish
case go
if(~ $cdboot yes){
echo 'Congratulations; you''ve completed the install.'
echo
halt
}
stop go finished
}