summaryrefslogtreecommitdiff
path: root/etc/rc.conf
blob: 38c2fc72409a7737300f0ab7dfe50a3472f86e9d (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
#!/bin/sh -
#
#	$OpenBSD: rc.conf,v 1.19 1998/04/07 06:11:54 deraadt Exp $

# set these to "NO" to turn them off.  otherwise, they're used as flags
routed_flags=NO		# for 'normal' use: routed_flags="-q"
mrouted_flags=NO	# for 'normal' use: mrouted_flags=""
rarpd_flags=NO		# for 'normal' use: rarpd_flags="-a"
bootparamd_flags=NO	# for 'normal' use: bootparamd_flags=""
rbootd_flags=NO		# for 'normal' use: rbootd_flags=""
sendmail_flags=NO	# for 'normal' use: sendmail_flags="-bd -q30m"
smtpfwdd_flags=NO	# for 'normal' use: smtpfwdd_flags="", no -bd above.
named_flags=NO		# for 'normal' use: named_flags=""
timed_flags=NO		# for 'normal' use: timed_flags=""
photurisd_flags=NO	# for 'normal' use: photurisd_flags=""
mopd_flags=NO		# for 'normal' use: mopd_flags="-a"
httpd_flags=NO		# for 'normal' use: httpd_flags=""

# On some architectures, you must also disable console getty in /etc/ttys
xdm_flags=NO		# for 'normal' use: xdm_flags=""

# set the following to "YES" to turn them on
rwhod=NO
nfs_server=NO
nfs_client=NO
lockd=NO
gated=NO
kerberos_server=NO	# kerberos server. run 'info kth-krb' for assistance.
kerberos_slave=NO	# kerberos slave server.
amd=NO
ipfilter=NO
ipnat=NO		# for "YES" ipfilter must also be "YES"
portmap=YES		# almost always needed
inetd=YES		# almost always needed
lpd=NO			# printing daemons
check_quotas=YES	# NO may be desireable in some YP environments

# miscellaneous other flags
# only used if the appropriate server is marked YES above
gated_flags=
ypserv_flags=			# E.g. -1 for YP v1, -d for DNS etc
yppasswdd_flags=		# "-d /etc/yp" if passwd files are in /etc/yp
nfsd_flags="-tun 4"		# Crank the 4 for a busy NFS fileserver
nfsiod_flags="-n 4"		# Crank the 4 for a busy NFS client
amd_dir=/tmp_mnt		# AMD's mount directory
amd_master=/etc/amd/master	# AMD 'master' map
ipfilter_rules=/etc/ipf.rules	# Rules for IP packet filtering
ipnat_rules=/etc/ipnat.rules	# Rules for Network Address Translation
ipmon_flags=-s			# To disable logging, use ipmon_flags=NO
syslogd_flags=			# add more flags, ie. -u -a /chroot/dev/log