git: 9front

ref: b64a7e5eaa4815f7ab35d6545a3fbc080e2c7519
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
}