plan9fox/rc/bin/inst/systype
2011-06-09 20:31:04 +00:00

21 lines
270 B
Bash
Executable file

#!/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
}