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