freebsd-skq/release/alpha/dokern.sh

64 lines
1.1 KiB
Bash
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
sed \
-e '/DEC_3000_300/d' \
-e '/DEC_3000_500/d' \
-e '/SOFTUPDATES/d' \
-e '/MFS/d' \
-e '/NFS_ROOT/d' \
-e '/MSDOSFS/d' \
-e '/PROCFS/d' \
-e '/KTRACE/d' \
-e '/SYSV/d' \
-e '/P1003_1B/d' \
-e '/_KPOSIX_PRIORITY_SCHEDULING/d' \
-e '/DEBUG/d' \
-e '/DDB/d' \
-e '/INVARIANTS/d' \
-e '/INVARIANT_SUPPORT/d' \
-e '/WITNESS/d' \
-e '/atapist/d' \
-e '/ ncr/d' \
-e '/pass/d' \
-e '/splash/d' \
-e '/ apm/d' \
-e '/pmtimer/d' \
-e '/pcm/d' \
-e '/lpt/d' \
-e '/ppi/d' \
-e '/vpo/d' \
-e '/ le /d' \
-e '/random/d' \
-e '/gzip/d' \
-e '/ sl /d' \
-e '/ppp/d' \
-e '/pty/d' \
-e '/gif/d' \
-e '/faith/d' \
-e '/uhci/d' \
-e '/ohci/d' \
-e '/usb/d' \
-e '/ugen/d' \
-e '/uhid/d' \
-e '/ukbd/d' \
-e '/ulpt/d' \
-e '/umass/d' \
-e '/ums/d' \
-e '/urio/d' \
-e '/uscanner/d' \
-e '/aue/d' \
-e '/cue/d' \
-e '/kue/d' \
-e '/maxusers/d' \
-e 's/ident.*GENERIC/ident BOOTMFS/g'
# reset maxusers to something lower
echo "maxusers 5"
echo "options NFS_NOSERVER"
echo "options SCSI_NO_OP_STRINGS"
echo "options SCSI_NO_SENSE_STRINGS"