diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-11-12 20:40:45 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-11-12 20:40:45 +0000 |
commit | 1da84da101af66fed0835e3c1ebceb6983f43f79 (patch) | |
tree | aa22331a8f6dc1e28be310133e043142b6ace007 /release/pc98 | |
parent | a1d0a423491b5e51a6819455992a31bb8c664d23 (diff) | |
download | src-1da84da101af66fed0835e3c1ebceb6983f43f79.tar.gz src-1da84da101af66fed0835e3c1ebceb6983f43f79.zip |
Simplify call to dokern.sh - now the no MFS case is the default.
Notes
Notes:
svn path=/head/; revision=41115
Diffstat (limited to 'release/pc98')
-rwxr-xr-x | release/pc98/dokern.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh index 9e41000307c0..98d5d92a05e9 100755 --- a/release/pc98/dokern.sh +++ b/release/pc98/dokern.sh @@ -2,15 +2,15 @@ # From the kernel config file on stdin (usually GENERIC), pare out items as # determined by whether or not the kernel is being prepared to contain -# an MFS ($1 = YES) or will have the floppy image all to itself ($1 = NO). +# an MFS ($1 = YES) or will have the floppy image all to itself ($1 = NO or +# not specified). if [ $# -lt 1 ]; then - echo "usage: $0 YES|NO" - exit 1 + MFS=NO +else + MFS=$1 fi -MFS=$1 - if [ "$MFS" = "YES" ]; then sed -e '/pty/d' \ -e '/eisa/d' \ @@ -32,7 +32,7 @@ if [ "$MFS" = "YES" ]; then -e '/MATH_EMULATE/d' \ -e 's/GENERIC/BOOTMFS/g' \ -e '/maxusers/s/32/4/' -elif [ "$MFS" = "NO" ]; then # can be much bigger +else sed -e '/pty/d' \ -e '/pass0/d' \ -e '/apm0/d' \ |