shithub: riscv

ref: a3b5e3994f7f2897ab1b5bb20b91224d145c1fc1
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
	fshalt -r
	while(){}
}