plan9fox/rc/bin/inst/configfs
2011-04-12 15:53:55 +00:00

23 lines
427 B
Bash
Executable file

#!/bin/rc
# desc: choose the type of file system to install
switch($1){
case checkdone
if(! ~ $fstype fossil fossil+venti){
configfs=ready
export configfs
}
case go
echo 'You can install the following types of file systems:'
echo
echo ' fossil the new Plan9 fileserver'
echo ' fossil+venti fossil + a archival dump server'
echo
prompt -d fossil 'File system' fossil fossil+venti
fstype=$rd
export fstype
}