git: 9front

ref: a4be2bfea7af6d18675d5806b979c67c4bd5a9db
dir: /rc/bin/inst/configfs/

View raw version
#!/bin/rc

# desc: choose the type of file system to install

switch($1){
case checkdone
	if(! ~ $fstype cwfs){
		configfs=ready
		export configfs
	}

case go
	echo 'You can install the following types of file systems:'
	echo
	echo '	cwfs	the cached-worm file server'
	echo
	prompt -d fossil 'File system' cwfs
	fstype=$rd
	export fstype
}