shithub: riscv

ref: ba2c2fcab783ccf5296eb5e8cc848b0559046c6d
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
	echo 'Congratulations; you''ve completed the install.'
	echo
	exec ./halt
}