summaryrefslogtreecommitdiffstats
path: root/release/alpha/dokern.sh
blob: b2ab69550c8d901bc6e02c9debaf85660193540b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
#
# $FreeBSD$
#

sed	\
	-e '/DDB/d' \
	-e '/DEBUG/d' \
	-e '/DEC_KN8AE/d' \
	-e '/INVARIANTS/d' \
	-e '/INVARIANT_SUPPORT/d' \
	-e '/KTRACE/d' \
	-e '/MSDOSFS/d' \
	-e '/NFSSERVER/d' \
	-e '/NFS_ROOT/d' \
	-e '/PROCFS/d' \
	-e '/PSEUDOFS/d' \
	-e '/SMP/d' \
	-e '/SOFTUPDATES/d' \
	-e '/SYSV/d' \
	-e '/UFS_ACL/d' \
	-e '/UFS_DIRHASH/d' \
	-e '/_KPOSIX_PRIORITY_SCHEDULING/d' \
	-e '/	atapifd	/d' \
	-e '/	atapist	/d' \
	-e '/	aue	/d' \
	-e '/	ch	/d' \
	-e '/	cue	/d' \
	-e '/	faith	/d' \
	-e '/	gif	/d' \
	-e '/	kue	/d' \
	-e '/	lpt	/d' \
	-e '/	ohci	/d' \
	-e '/	pass	/d' \
	-e '/	ppbus	/d' \
	-e '/	ppc$/d' \
	-e '/	ppi	/d' \
	-e '/	ppp	/d' \
	-e '/	pty	/d' \
	-e '/	random	/d' \
	-e '/	sa	/d' \
	-e '/	ses	/d' \
	-e '/	sf	/d' \
	-e '/	sis	/d' \
	-e '/	sl	/d' \
	-e '/	splash	/d' \
	-e '/	ste	/d' \
	-e '/	ugen	/d' \
	-e '/	uhci	/d' \
	-e '/	uhid	/d' \
	-e '/	ukbd	/d' \
	-e '/	ulpt	/d' \
	-e '/	umass	/d' \
	-e '/	ums	/d' \
	-e '/	usb	/d' \
	-e '/	wb	/d' \
	-e '/maxusers/d' \
	-e 's/ident.*GENERIC/ident		BOOTMFS/g'

# reset maxusers to something lower
echo "maxusers	2"

echo "options  SCSI_NO_OP_STRINGS" 
echo "options  SCSI_NO_SENSE_STRINGS"
OpenPOWER on IntegriCloud