git: 9front

ref: d9f3982b97f188767096902eab5ed15d2ffe73d2
dir: /sys/lib/dist.old/pc/inst/finish/

View raw version
#!/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
}