Annotation of src/etc/rc.conf, Revision 1.81
1.1 deraadt 1: #!/bin/sh -
2: #
1.81 ! deraadt 3: # $OpenBSD: rc.conf,v 1.80 2002/10/04 23:16:41 deraadt 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.33 downsj 35:
36: # Set to NO if ftpd is running out of inetd
1.39 deraadt 37: ftpd_flags=NO # for non-inetd use: "-D"
1.41 fgsch 38:
39: # Set to NO if identd is running out of inetd
40: identd_flags=NO # for non-inetd use: "-b -u nobody -elo"
1.19 deraadt 41:
42: # On some architectures, you must also disable console getty in /etc/ttys
1.39 deraadt 43: xdm_flags=NO # for normal use: ""
1.52 aaron 44:
45: # For enabling console mouse support (i386 architecture only)
1.60 aaron 46: wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
1.1 deraadt 47:
48: # set the following to "YES" to turn them on
49: rwhod=NO
1.48 mickey 50: nfs_server=NO # see sysctl.conf for nfs client configuration
1.1 deraadt 51: lockd=NO
52: gated=NO
53: amd=NO
1.66 deraadt 54: pf=NO # Packet filter / NAT
1.78 deraadt 55: portmap=NO # Note: inetd(8) rpc services need portmap too
1.14 art 56: inetd=YES # almost always needed
1.56 krw 57: check_quotas=YES # NO may be desirable in some YP environments
1.31 deraadt 58: ntpd=YES # run ntpd if it exists
1.63 hin 59:
1.64 hin 60: krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help.
1.63 hin 61: krb5_slave_kdc=NO # KerberosV slave KDC.
1.32 art 62: afs=NO # mount and run afs
1.35 niklas 63:
64: # Multicast routing configuration
65: # Please look at /etc/netstart for a detailed description if you change these
66: multicast_host=NO # Route all multicast packets to a single interface
67: multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted
1.1 deraadt 68:
69: # miscellaneous other flags
70: # only used if the appropriate server is marked YES above
1.72 tholo 71: savecore_flags= # "-z" to compress
1.1 deraadt 72: gated_flags=
73: ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
1.6 deraadt 74: yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp
1.9 downsj 75: nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
1.1 deraadt 76: amd_dir=/tmp_mnt # AMD's mount directory
77: amd_master=/etc/amd/master # AMD 'master' map
1.40 millert 78: syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"
1.56 krw 79: named_user=named # Named should not run as root unless necessary
1.22 millert 80: named_chroot=/var/named # Where to chroot named if not empty
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