plan9fox/rc/bin/inst/configfs
2012-08-09 20:13:28 +02:00

22 lines
448 B
Bash
Executable file

#!/bin/rc
# desc: choose the type of file system to install
switch($1){
case checkdone
if(~ $#fstype 1 && test -f /bin/$fstype)
configfs=done
if not
configfs=ready
export configfs
case go
echo 'You can install the following types of file systems:'
echo
echo ' cwfs64x the cached-worm file server'
echo ' hjfs the new 9front file server (experimental!)'
echo
prompt -d cwfs64x 'File system' cwfs64x hjfs
fstype=$rd
export fstype
}