xref: /plan9/sys/lib/dist/pc/inst/configdist (revision 9a747e4fd48b9f4522c70c07e8f882a15030f964)
1#!/bin/rc
2
3# prereq: mountfs
4# desc: choose the source of the distribution archive
5
6switch($1){
7case checkdone
8	if(! ~ $distisfrom net local){
9		configdist=ready
10		export configdist
11	}
12
13case go
14	echo 'Are you going to download the distribution'
15	echo 'from the internet or do you have it on local media?'
16	echo
17	prompt -d local 'Distribution is from' local net
18	distisfrom=$rd
19	export distisfrom
20}
21
22
23