ref: aa2f5f17f52ef838a2352b5eb92bf6b4ebd48815
dir: /rc/bin/inst/systype/
#!/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
}