6536511dbb
friendly.
24 lines
447 B
Bash
Executable File
24 lines
447 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'
|
|
|
|
# So dhclient will work (just on boot floppy).
|
|
echo "pseudo-device bpf 4"
|
|
|
|
# reset maxusers to something lower
|
|
echo "maxusers 5"
|
|
|
|
echo "options NFS_NOSERVER"
|
|
echo "options SCSI_NO_OP_STRINGS"
|
|
echo "options SCSI_NO_SENSE_STRINGS"
|