git: 9front

ref: 6e5f4c890d749b67a3ccb301e2dfb80d04f14bcb
dir: /rc/bin/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
}