xref: /plan9/sys/lib/dist/pc/inst/finish (revision 3ff48bf5ed603850fcd251ddf13025d23d693782)
1#!/bin/rc
2
3# desc: finish the installation and reboot
4# prereq: bootsetup
5# mustdo:
6
7switch($1) {
8case checkdone
9	finish=ready
10	export finish
11
12case go
13	if(~ $cdboot yes){
14		echo 'Congratulations; you''ve completed the install.'
15		echo
16		halt
17	}
18	stop go finished
19}
20