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