ref: 0a8b50a42d13a1e56a8c8b1e966e1946d07431d8
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
}