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