Annotation of src/etc/rc.conf, Revision 1.85
1.1 deraadt 1: #!/bin/sh -
2: #
1.85 ! jakob 3: # $OpenBSD: rc.conf,v 1.84 2002/12/27 02:26:52 lebel 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: named_flags=NO # for normal use: ""
1.76 deraadt 14: rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC1361-host]
1.39 deraadt 15: timed_flags=NO # for normal use: ""
1.51 matt 16: ntpdate_flags=NO # for normal use: NTP server; run before ntpd starts
1.39 deraadt 17: isakmpd_flags=NO # for normal use: ""
18: mopd_flags=NO # for normal use: "-a"
19: apmd_flags=NO # for normal use: ""
20: dhcpd_flags=NO # for normal use: "-q"
1.42 itojun 21: rtadvd_flags=NO # for normal use: list of interfaces
22: # be sure to set net.inet6.ip6.forwarding=1
23: route6d_flags=NO # for normal use: ""
24: # be sure to set net.inet6.ip6.forwarding=1
25: rtsold_flags=NO # for normal use: interface
26: # be sure to set net.inet6.ip6.forwarding=0
27: # be sure to set net.inet6.ip6.accept_rtadv=1
1.62 fgsch 28: lpd_flags=NO # for normal use: "" (or "-l" for debugging)
1.75 deraadt 29:
30: # use -u to disable chroot, see httpd(8)
31: httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
1.69 millert 32:
1.77 deraadt 33: # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
1.69 millert 34: sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
1.84 lebel 35: spamd_flags=NO # for normal use: "" and see spamd-setup(8)
1.83 deraadt 36: spamd_setup= # for normal use: -1 or other such options
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:
1.82 miod 47: # For enabling console mouse support (i386 and alpha 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.78 deraadt 57: portmap=NO # Note: inetd(8) rpc services need portmap too
1.14 art 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.65 kjell 81: pf_rules=/etc/pf.conf # Packet filter rules file
1.68 deraadt 82: pflogd_flags= # add more flags, ie. "-s 256"
1.32 art 83: afs_mount_point=/afs # Mountpoint for AFS
84: afs_device=/dev/xfs0 # Device used by afsd
85: afsd_flags=-z # Flags passed to afsd
1.36 millert 86: shlib_dirs= # extra directories for ldconfig
1.45 deraadt 87:
88: local_rcconf="/etc/rc.conf.local"
1.49 todd 89:
90: [ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line