freebsd-dev/release/amd64/dokern.sh

24 lines
460 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"
echo "options NETGRAPH"
echo "options NETGRAPH_PPPOE"
echo "options NETGRAPH_SOCKET"