]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/inst/configfs
merge
[plan9front.git] / rc / bin / inst / configfs
1 #!/bin/rc
2
3 # desc: choose the type of file system to install
4
5 switch($1){
6 case checkdone
7         if(~ $#fstype 1 && test -f /bin/$fstype)
8                 configfs=done
9         if not
10                 configfs=ready
11         export configfs
12
13 case go
14         echo 'You can install the following types of file systems:'
15         echo
16         echo '  cwfs64x the cached-worm file server'
17         echo
18         prompt -d cwfs64x 'File system' cwfs64x
19         fstype=$rd
20         export fstype
21 }