freebsd-nq/release/pc98/dokern.sh

120 lines
2.0 KiB
Bash
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
if [ $# -lt 1 ]; then
FDSIZE=NORMAL
else
FDSIZE=$1
fi
if [ "${FDSIZE}" = "SMALL" ]; then
sed -e 's/ident.*GENERIC/ident BOOTMFS/g' \
2003-08-02 09:36:49 +00:00
-e '/COMPAT_FREEBSD4/d' \
-e '/DDB/d' \
-e '/DEBUG/d' \
2003-08-02 09:36:49 +00:00
-e '/INVARIANTS/d' \
-e '/INVARIANT_SUPPORT/d' \
-e '/KTRACE/d' \
-e '/NFSSERVER/d' \
-e '/NFS_ROOT/d' \
-e '/PROCFS/d' \
-e '/PSEUDOFS/d' \
2003-08-02 09:36:49 +00:00
-e '/SOFTUPDATES/d' \
-e '/SYSV/d' \
2003-08-02 09:36:49 +00:00
-e '/UFS_DIRHASH/d' \
-e '/WITNESS/d' \
2003-08-02 09:36:49 +00:00
-e '/ adv /d' \
-e '/ ahc /d' \
-e '/ amd /d' \
-e '/ an /d' \
-e '/ atapifd /d' \
-e '/ atapist /d' \
2003-08-02 09:36:49 +00:00
-e '/ awi /d' \
-e '/ ch /d' \
2003-08-02 09:36:49 +00:00
-e '/ dc /d' \
-e '/ de /d' \
-e '/ em /d' \
-e '/ faith /d' \
-e '/ fxp /d' \
-e '/ gif /d' \
-e '/ isp /d' \
-e '/ lpt /d' \
2003-08-02 09:36:49 +00:00
-e '/ pass /d' \
-e '/ pci$/d' \
-e '/ pcn /d' \
-e '/ plip /d' \
2003-08-02 09:36:49 +00:00
-e '/ ppbus /d' \
-e '/ ppc$/d' \
-e '/ ppi /d' \
-e '/ ppp /d' \
-e '/ pty /d' \
2003-08-02 09:36:49 +00:00
-e '/ random /d' \
-e '/ rl /d' \
2003-08-02 09:36:49 +00:00
-e '/ sa /d' \
-e '/ ses /d' \
-e '/ sf /d' \
-e '/ sis /d' \
2003-08-02 09:36:49 +00:00
-e '/ sl /d' \
-e '/ splash /d' \
-e '/ ste /d' \
2003-08-02 09:36:49 +00:00
-e '/ sym /d' \
-e '/ tl /d' \
-e '/ tx /d' \
2003-08-02 09:36:49 +00:00
-e '/ txp /d' \
-e '/ vr /d' \
2003-08-02 09:36:49 +00:00
-e '/ vx /d' \
-e '/ wb /d' \
2003-08-02 09:36:49 +00:00
-e '/ wi /d' \
-e '/ xl /d'
echo "options ATA_NOPCI"
else
sed -e 's/ident.*GENERIC/ident BOOTMFS/g' \
2003-08-02 09:36:49 +00:00
-e '/COMPAT_FREEBSD4/d' \
-e '/DDB/d' \
-e '/DEBUG/d' \
2003-08-02 09:36:49 +00:00
-e '/INVARIANTS/d' \
-e '/INVARIANT_SUPPORT/d' \
-e '/KTRACE/d' \
-e '/NFSSERVER/d' \
-e '/NFS_ROOT/d' \
-e '/PROCFS/d' \
-e '/PSEUDOFS/d' \
2003-08-02 09:36:49 +00:00
-e '/SOFTUPDATES/d' \
-e '/SYSV/d' \
2003-08-02 09:36:49 +00:00
-e '/UFS_DIRHASH/d' \
-e '/WITNESS/d' \
-e '/ atapifd /d' \
-e '/ atapist /d' \
-e '/ ch /d' \
2003-08-02 09:36:49 +00:00
-e '/ faith /d' \
-e '/ gif /d' \
-e '/ lpt /d' \
2003-08-02 09:36:49 +00:00
-e '/ pass /d' \
-e '/ plip /d' \
2003-08-02 09:36:49 +00:00
-e '/ ppbus /d' \
-e '/ ppc$/d' \
-e '/ ppi /d' \
-e '/ ppp /d' \
-e '/ pty /d' \
2003-08-02 09:36:49 +00:00
-e '/ random /d' \
-e '/ sa /d' \
-e '/ ses /d' \
-e '/ sl /d' \
-e '/ splash /d'
fi
echo "options NETGRAPH"
2000-06-28 09:33:59 +00:00
echo "options NETGRAPH_ETHER"
echo "options NETGRAPH_PPPOE"
echo "options NETGRAPH_SOCKET"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"