freebsd-nq/release/amd64/dokern.sh
1999-11-20 10:54:57 +00:00

24 lines
460 B
Bash
Executable File

#!/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"