rc.conf revision 1.42
1#!/bin/sh -
2#
3#	$OpenBSD: rc.conf,v 1.42 2000/01/02 14:25:07 itojun Exp $
4
5# set these to "NO" to turn them off.  otherwise, they're used as flags
6routed_flags=NO		# for normal use: "-q"
7mrouted_flags=NO	# for normal use: "", if activated
8			# be sure to enable multicast_router below.
9rarpd_flags=NO		# for normal use: "-a"
10bootparamd_flags=NO	# for normal use: ""
11rbootd_flags=NO		# for normal use: ""
12sendmail_flags="-q30m"	# for normal use: "-bd -q30m"
13smtpfwdd_flags=NO	# for normal use: "", and no "-bd" above.
14named_flags=NO		# for normal use: ""
15timed_flags=NO		# for normal use: ""
16photurisd_flags=NO	# for normal use: ""
17isakmpd_flags=NO	# for normal use: ""
18mopd_flags=NO		# for normal use: "-a"
19httpd_flags=NO		# for normal use: "" (or "-DSSL" after reading ssl(8))
20apmd_flags=NO		# for normal use: ""
21dhcpd_flags=NO		# for normal use: "-q"
22rtadvd_flags=NO		# for normal use: list of interfaces
23			# be sure to set net.inet6.ip6.forwarding=1
24route6d_flags=NO	# for normal use: ""
25			# be sure to set net.inet6.ip6.forwarding=1
26rtsold_flags=NO		# for normal use: interface
27			# be sure to set net.inet6.ip6.forwarding=0
28			# be sure to set net.inet6.ip6.accept_rtadv=1
29
30# Set to NO if ftpd is running out of inetd
31ftpd_flags=NO		# for non-inetd use: "-D"
32
33# Set to NO if identd is running out of inetd
34identd_flags=NO		# for non-inetd use: "-b -u nobody -elo"
35
36# On some architectures, you must also disable console getty in /etc/ttys
37xdm_flags=NO		# for normal use: ""
38
39# set the following to "YES" to turn them on
40rwhod=NO
41nfs_server=NO
42nfs_client=NO
43lockd=NO
44gated=NO
45kerberos_server=NO	# kerberos server. run 'info kth-krb' for assistance.
46kerberos_slave=NO	# kerberos slave server.
47amd=NO
48ipfilter=NO
49ipnat=NO		# for "YES" ipfilter must also be "YES"
50portmap=YES		# almost always needed
51inetd=YES		# almost always needed
52lpd=NO			# printing daemons
53check_quotas=YES	# NO may be desireable in some YP environments
54sshd=YES		# run sshd if it exists
55ntpd=YES		# run ntpd if it exists
56afs=NO			# mount and run afs
57
58# Multicast routing configuration
59# Please look at /etc/netstart for a detailed description if you change these
60multicast_host=NO	# Route all multicast packets to a single interface
61multicast_router=NO	# A multicast routing daemon will be run, e.g. mrouted
62
63# miscellaneous other flags
64# only used if the appropriate server is marked YES above
65gated_flags=
66ypserv_flags=			# E.g. -1 for YP v1, -d for DNS etc
67yppasswdd_flags=		# "-d /etc/yp" if passwd files are in /etc/yp
68nfsd_flags="-tun 4"		# Crank the 4 for a busy NFS fileserver
69nfsiod_flags="-n 4"		# Crank the 4 for a busy NFS client
70amd_dir=/tmp_mnt		# AMD's mount directory
71amd_master=/etc/amd/master	# AMD 'master' map
72ipfilter_rules=/etc/ipf.rules	# Rules for IP packet filtering
73ipnat_rules=/etc/ipnat.rules	# Rules for Network Address Translation
74ipmon_flags=-Ds			# To disable logging, use ipmon_flags=NO
75syslogd_flags=			# add more flags, ie. "-u -a /chroot/dev/log"
76named_user=named		# Named should not run as root unless neccesary
77named_chroot=/var/named		# Where to chroot named if not empty
78afs_mount_point=/afs		# Mountpoint for AFS
79afs_device=/dev/xfs0		# Device used by afsd
80afsd_flags=-z			# Flags passed to afsd
81shlib_dirs=			# extra directories for ldconfig
82