ref: 46fe8f67bc7666ccd5b3d385e57066a2e57aeb79
dir: /rc/bin/inst/finish/
#!/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
}