summaryrefslogtreecommitdiff
path: root/rc/bin/inst/systype
blob: ab4e53a258acdee1a225f12f702ba873b498df03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/rc

# desc: choose system type

switch($1){
case checkdone
	if(~ $#syst 1 && ~ $syst cpu terminal)
		systype=done
	if not
		systype=ready
	export systype
	if(~ $syst terminal)
		tasks=`{echo $tasks | sed 's/authsetup//g'}
	export tasks
case go
	echo

	options=(terminal cpu)
	
	prompt -d terminal 'System type' $options
	syst=$rd
	export syst
}