shithub: riscv

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