shithub: riscv

ref: 5eec707368a91687c5e8ff7941ab6df5bf9e7fa3
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 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
	prompt -d cwfs64x 'File system' cwfs64x
	fstype=$rd
	export fstype
}