freebsd-dev/release/amd64/dokern.sh

21 lines
372 B
Bash
Raw Normal View History

#!/bin/sh
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 '/SYSVMSG/d' \
-e '/maxusers/d' \
-e 's/GENERIC/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"