summaryrefslogtreecommitdiff
path: root/release/scripts/dokern.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/dokern.sh')
-rwxr-xr-xrelease/scripts/dokern.sh49
1 files changed, 0 insertions, 49 deletions
diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh
deleted file mode 100755
index ac20226d12496..0000000000000
--- a/release/scripts/dokern.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-# 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 or
-# not specified).
-
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/wfd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/wt0/d' \
- -e '/pass0/d' \
- -e '/apm0/d' \
- -e '/ft0/d' \
- -e '/ppp/d' \
- -e '/gzip/d' \
- -e '/isp0/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/SYSVSHM/d' \
- -e '/KTRACE/d' \
- -e '/MATH_EMULATE/d' \
- -e 's/GENERIC/BOOTMFS/g' \
- -e '/maxusers/s/32/4/'
-else
- sed -e '/pty/d' \
- -e '/pass0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/gzip/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
-echo "options NFS_NOSERVER"
-echo 'options "MAXCONS=4"'
-echo "options SCSI_NO_OP_STRINGS"
-echo "options SCSI_NO_SENSE_STRINGS"
-echo "options NO_LKM"
-echo "options NO_SWAPPING"