xref: /openbsd/etc/rc.conf (revision 3d8817e4)
1#!/bin/sh -
2#
3#	$OpenBSD: rc.conf,v 1.141 2011/02/12 11:21:01 ajacoutot Exp $
4
5# set these to "NO" to turn them off.  otherwise, they're used as flags
6ldpd_flags=NO		# for normal use: ""
7ripd_flags=NO		# for normal use: ""
8mrouted_flags=NO	# for normal use: "", if activated
9			# be sure to enable multicast_router below.
10dvmrpd_flags=NO		# for normal use: ""
11ospfd_flags=NO		# for normal use: ""
12ospf6d_flags=NO		# for normal use: ""
13bgpd_flags=NO		# for normal use: ""
14rarpd_flags=NO		# for normal use: "-a"
15bootparamd_flags=NO	# for normal use: ""
16rbootd_flags=NO		# for normal use: ""
17sshd_flags=""		# for normal use: ""
18named_flags=NO		# for normal use: ""
19nsd_flags=NO		# for normal use: ""
20rdate_flags=NO		# for normal use: [RFC868-host] or [-n RFC2030-host]
21timed_flags=NO		# for normal use: ""
22ldattach_flags=NO	# for normal use: "[options] linedisc cua-device"
23ntpd_flags=NO		# for normal use: ""
24isakmpd_flags=NO	# for normal use: ""
25iked_flags=NO		# for normal use: ""
26sasyncd_flags=NO	# for normal use: ""
27mopd_flags=NO		# for normal use: "-a"
28apmd_flags=NO		# for normal use: ""
29dhcpd_flags=NO		# for normal use: ""
30dhcrelay_flags=NO	# for normal use: "-i interface [server]"
31rtadvd_flags=NO		# for normal use: list of interfaces
32			# be sure to set net.inet6.ip6.forwarding=1
33route6d_flags=NO	# for normal use: ""
34			# be sure to set net.inet6.ip6.forwarding=1
35rtsold_flags=NO		# for normal use: interface
36			# be sure to set net.inet6.ip6.forwarding=0
37			# be sure to set net.inet6.ip6.accept_rtadv=1
38lpd_flags=NO		# for normal use: "" (or "-l" for debugging)
39sensorsd_flags=NO	# for normal use: ""
40hotplugd_flags=NO	# for normal use: ""
41watchdogd_flags=NO	# for normal use: ""
42ftpproxy_flags=NO	# for normal use: ""
43hostapd_flags=NO	# for normal use: ""
44ifstated_flags=NO	# for normal use: ""
45relayd_flags=NO		# for normal use: ""
46snmpd_flags=NO		# for normal use: ""
47smtpd_flags=NO		# for normal use: ""
48aucat_flags=NO		# for normal use: ""
49ldapd_flags=NO		# for normal use: ""
50
51# use -u to disable chroot, see httpd(8)
52httpd_flags=NO		# for normal use: "" (or "-DSSL" after reading ssl(8))
53
54# For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
55sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
56spamd_flags=NO		# for normal use: "" and see spamd(8)
57spamd_black=NO		# set to YES to run spamd without greylisting
58spamlogd_flags=""	# use eg. "-i interface" and see spamlogd(8)
59
60# Set to NO if ftpd is running out of inetd
61ftpd_flags=NO		# for non-inetd use: "-D"
62
63# Set to NO if identd is running out of inetd
64identd_flags=NO		# for non-inetd use: "-b -elo"
65
66# On some architectures, you must also disable console getty in /etc/ttys
67xdm_flags=NO		# for normal use: ""
68
69# For enabling console mouse support (i386 alpha amd64)
70wsmoused_flags=NO	# for ps/2 or usb mice: "", serial: "-p /dev/cua00"
71
72# set the following to "YES" to turn them on
73rwhod=NO
74nfs_server=NO		# see sysctl.conf for nfs client configuration
75lockd=NO
76amd=NO
77pf=YES			# Packet filter / NAT
78ipsec=NO		# IPsec
79bt=NO			# Bluetooth
80portmap=NO		# Note: inetd(8) rpc services need portmap too
81inetd=YES		# almost always needed
82check_quotas=YES	# NO may be desirable in some YP environments
83accounting=NO		# process accounting (using /var/account/acct)
84
85krb5_master_kdc=NO	# KerberosV master KDC. Run 'info heimdal' for help.
86krb5_slave_kdc=NO	# KerberosV slave KDC.
87afs=NO			# mount and run afs
88
89# Multicast routing configuration
90# Please look at netstart(8) for a detailed description if you change these
91multicast_host=NO	# Route all multicast packets to a single interface
92multicast_router=NO	# A multicast routing daemon will be run, e.g. mrouted
93
94# miscellaneous other flags
95# only used if the appropriate server is marked YES above
96savecore_flags=			# "-z" to compress
97ypserv_flags=			# E.g. -1 for YP v1, -d for DNS etc
98yppasswdd_flags=NO		# "-d /etc/yp" if passwd files are in /etc/yp
99nfsd_flags="-tun 4"		# Crank the 4 for a busy NFS fileserver
100amd_master=/etc/amd/master	# AMD 'master' map
101syslogd_flags=			# add more flags, e.g. "-u -a /chroot/dev/log"
102pf_rules=/etc/pf.conf		# Packet filter rules file
103ipsec_rules=/etc/ipsec.conf	# IPsec rules file
104bt_rules=/etc/bt.conf		# Bluetooth rules file
105pflogd_flags=			# add more flags, e.g. "-s 256"
106afsd_flags=			# Flags passed to afsd
107shlib_dirs=			# extra directories for ldconfig, separated
108				# by space
109
110# rc.d(8) daemons scripts
111# started in the specified order and stopped in reverse order
112rc_scripts=
113
114local_rcconf="/etc/rc.conf.local"
115
116[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line
117