git: 9front

ref: 41b34c448dda31c5d568f11d7afd70a7217ba152
dir: /sys/lib/dist/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
}