summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-01-31 12:41:12 +0000
committerjkh <jkh@FreeBSD.org>1999-01-31 12:41:12 +0000
commit6bccce105c97e1cd8ebd5eeac03678363ab44ade (patch)
treed14c916da40bd6e8464688771833c0aae9b0a53e /release
parent278d35dcc6e6e99fd9c4eb8a81fb8bd25061872b (diff)
downloadFreeBSD-src-6bccce105c97e1cd8ebd5eeac03678363ab44ade.zip
FreeBSD-src-6bccce105c97e1cd8ebd5eeac03678363ab44ade.tar.gz
Don't strip out stuff from boot.flp now that it's twice the size.
Diffstat (limited to 'release')
-rwxr-xr-xrelease/alpha/dokern.sh60
-rwxr-xr-xrelease/amd64/dokern.sh60
-rwxr-xr-xrelease/i386/dokern.sh60
-rwxr-xr-xrelease/pc98/dokern.sh60
-rwxr-xr-xrelease/scripts/dokern.sh60
5 files changed, 45 insertions, 255 deletions
diff --git a/release/alpha/dokern.sh b/release/alpha/dokern.sh
index cdde9d8..da76607 100755
--- a/release/alpha/dokern.sh
+++ b/release/alpha/dokern.sh
@@ -1,57 +1,15 @@
#!/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).
+sed -e '/pty/d' \
+ -e '/pass0/d' \
+ -e '/apm0/d' \
+ -e '/ppp/d' \
+ -e '/gzip/d' \
+ -e '/splash/d' \
+ -e '/PROCFS/d' \
+ -e '/KTRACE/d' \
+ -e 's/GENERIC/BOOTMFS/g'
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/acd0/d' \
- -e '/cd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/ft0/d' \
- -e '/wt0/d' \
- -e '/wfd0/d' \
- -e '/pass0/d' \
- -e '/pnp0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/eisa0/d' \
- -e '/aha0/d' \
- -e '/ahb0/d' \
- -e '/bt0/d' \
- -e '/fd1/d' \
- -e '/splash/d' \
- -e '/gzip/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/MSDOSFS/d' \
- -e '/CD9660/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 '/splash/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"
diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh
index cdde9d8..da76607 100755
--- a/release/amd64/dokern.sh
+++ b/release/amd64/dokern.sh
@@ -1,57 +1,15 @@
#!/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).
+sed -e '/pty/d' \
+ -e '/pass0/d' \
+ -e '/apm0/d' \
+ -e '/ppp/d' \
+ -e '/gzip/d' \
+ -e '/splash/d' \
+ -e '/PROCFS/d' \
+ -e '/KTRACE/d' \
+ -e 's/GENERIC/BOOTMFS/g'
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/acd0/d' \
- -e '/cd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/ft0/d' \
- -e '/wt0/d' \
- -e '/wfd0/d' \
- -e '/pass0/d' \
- -e '/pnp0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/eisa0/d' \
- -e '/aha0/d' \
- -e '/ahb0/d' \
- -e '/bt0/d' \
- -e '/fd1/d' \
- -e '/splash/d' \
- -e '/gzip/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/MSDOSFS/d' \
- -e '/CD9660/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 '/splash/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"
diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh
index cdde9d8..da76607 100755
--- a/release/i386/dokern.sh
+++ b/release/i386/dokern.sh
@@ -1,57 +1,15 @@
#!/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).
+sed -e '/pty/d' \
+ -e '/pass0/d' \
+ -e '/apm0/d' \
+ -e '/ppp/d' \
+ -e '/gzip/d' \
+ -e '/splash/d' \
+ -e '/PROCFS/d' \
+ -e '/KTRACE/d' \
+ -e 's/GENERIC/BOOTMFS/g'
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/acd0/d' \
- -e '/cd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/ft0/d' \
- -e '/wt0/d' \
- -e '/wfd0/d' \
- -e '/pass0/d' \
- -e '/pnp0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/eisa0/d' \
- -e '/aha0/d' \
- -e '/ahb0/d' \
- -e '/bt0/d' \
- -e '/fd1/d' \
- -e '/splash/d' \
- -e '/gzip/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/MSDOSFS/d' \
- -e '/CD9660/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 '/splash/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"
diff --git a/release/pc98/dokern.sh b/release/pc98/dokern.sh
index cdde9d8..da76607 100755
--- a/release/pc98/dokern.sh
+++ b/release/pc98/dokern.sh
@@ -1,57 +1,15 @@
#!/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).
+sed -e '/pty/d' \
+ -e '/pass0/d' \
+ -e '/apm0/d' \
+ -e '/ppp/d' \
+ -e '/gzip/d' \
+ -e '/splash/d' \
+ -e '/PROCFS/d' \
+ -e '/KTRACE/d' \
+ -e 's/GENERIC/BOOTMFS/g'
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/acd0/d' \
- -e '/cd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/ft0/d' \
- -e '/wt0/d' \
- -e '/wfd0/d' \
- -e '/pass0/d' \
- -e '/pnp0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/eisa0/d' \
- -e '/aha0/d' \
- -e '/ahb0/d' \
- -e '/bt0/d' \
- -e '/fd1/d' \
- -e '/splash/d' \
- -e '/gzip/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/MSDOSFS/d' \
- -e '/CD9660/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 '/splash/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"
diff --git a/release/scripts/dokern.sh b/release/scripts/dokern.sh
index cdde9d8..da76607 100755
--- a/release/scripts/dokern.sh
+++ b/release/scripts/dokern.sh
@@ -1,57 +1,15 @@
#!/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).
+sed -e '/pty/d' \
+ -e '/pass0/d' \
+ -e '/apm0/d' \
+ -e '/ppp/d' \
+ -e '/gzip/d' \
+ -e '/splash/d' \
+ -e '/PROCFS/d' \
+ -e '/KTRACE/d' \
+ -e 's/GENERIC/BOOTMFS/g'
-if [ $# -lt 1 ]; then
- MFS=NO
-else
- MFS=$1
-fi
-
-if [ "$MFS" = "YES" ]; then
- sed -e '/pty/d' \
- -e '/acd0/d' \
- -e '/cd0/d' \
- -e '/mcd0/d' \
- -e '/matcd0/d' \
- -e '/scd0/d' \
- -e '/ft0/d' \
- -e '/wt0/d' \
- -e '/wfd0/d' \
- -e '/pass0/d' \
- -e '/pnp0/d' \
- -e '/apm0/d' \
- -e '/ppp/d' \
- -e '/eisa0/d' \
- -e '/aha0/d' \
- -e '/ahb0/d' \
- -e '/bt0/d' \
- -e '/fd1/d' \
- -e '/splash/d' \
- -e '/gzip/d' \
- -e '/NFS/d' \
- -e '/PROCFS/d' \
- -e '/MSDOSFS/d' \
- -e '/CD9660/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 '/splash/d' \
- -e '/PROCFS/d' \
- -e '/KTRACE/d' \
- -e 's/GENERIC/BOOTMFS/g'
-fi
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"
OpenPOWER on IntegriCloud