summaryrefslogtreecommitdiff
path: root/sys/lib/dist.old/pc/inst/finish
blob: e616e64e18f2367916cd185f4b92acb7feeccbed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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
}