2011-03-30 13:53:33 +00:00
|
|
|
#!/bin/rc
|
|
|
|
|
|
|
|
# desc: choose the type of file system to install
|
|
|
|
|
|
|
|
switch($1){
|
|
|
|
case checkdone
|
2011-04-22 00:50:41 +00:00
|
|
|
if(~ $#fstype 1 && test -f /bin/$fstype)
|
|
|
|
configfs=done
|
|
|
|
if not
|
2011-03-30 13:53:33 +00:00
|
|
|
configfs=ready
|
2011-04-22 00:50:41 +00:00
|
|
|
export configfs
|
2011-03-30 13:53:33 +00:00
|
|
|
|
|
|
|
case go
|
|
|
|
echo 'You can install the following types of file systems:'
|
|
|
|
echo
|
2011-04-22 00:50:41 +00:00
|
|
|
echo ' cwfs64x the cached-worm file server'
|
2012-08-07 15:57:04 +00:00
|
|
|
echo ' hjfs the new 9front file server (experimental!)'
|
2011-03-30 13:53:33 +00:00
|
|
|
echo
|
2012-08-07 15:57:04 +00:00
|
|
|
prompt -d cwfs64x 'File system' cwfs64x hjfs
|
2011-03-30 13:53:33 +00:00
|
|
|
fstype=$rd
|
|
|
|
export fstype
|
|
|
|
}
|