| cd "$vardir/methods/floppy" |
| defaultfloppy="`echo \"$defaultfloppy\" | sed -e 's,^/dev/,,'`" |
| Which floppy disk drive do you wish to use ? Give the name in |
| /dev (eg fd0) or the MSDOS drive letter (eg A). ['$defaultfloppy'] ' |
| floppy="`echo $floppy | \ |
| sed -e 's/:$//; s,^[Aa],/dev/fd0,; s,^[Bb],/dev/fd1,'`" |
| echo "$floppy is not a block device." |
| What kind of filesystem is on the floppies ? ['$defaultfstype'] ' |
| if ! grep " $fstype$" /proc/filesystems >/dev/null |
| "Your kernel does not appear to support that filesystem type." |
| echo "$2" | sed -e "s/'/'\\\\''/; s/^/$1='/; s/$/'/" >&3 |
| outputparam defaultfloppy "$floppy" |
| outputparam defaultfstype "$fstype" |
| mv shvar.$option.new shvar.$option |