git: 9front

ref: a9ab5a3183a98e716a2090defcd7dd924d3f85df
dir: /rc/bin/inst/systype/

View raw version
#!/bin/rc

# desc: choose system type

switch($1){
case checkdone
	if(~ $#syst 1 && ~ $syst cpu terminal)
		systype=done
	if not
		systype=ready
	export systype
case go
	echo

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