ref: 902bd7ba274c50743a2cb15f4bca7a55b443172e
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
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
}