]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/inst/systype
inst: pass on kernel parameters to installed plan9.ini
[plan9front.git] / rc / bin / inst / systype
1 #!/bin/rc
2
3 # desc: choose system type
4
5 switch($1){
6 case checkdone
7         if(~ $#syst 1 && ~ $syst cpu terminal)
8                 systype=done
9         if not
10                 systype=ready
11         export systype
12 case go
13         echo
14
15         options=(terminal cpu)
16         
17         prompt -d terminal 'System type' $options
18         syst=$rd
19         export syst
20 }