ref: 43f2d5e7e0b8ca8d24e15fb4ff566827e5a5ae5b
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
}