summaryrefslogtreecommitdiffstats
path: root/release/alpha/dokern.sh
blob: 5a7a7a56064e699406d1a185f6c0f8c3443a2463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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"
OpenPOWER on IntegriCloud