shithub: riscv

ref: 56e869ac7004a635a7d63596ee751275484f28c3
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(){}
}