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