[BACK]Return to rc.conf CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/rc.conf, Revision 1.187

1.1       deraadt     1: #!/bin/sh -
                      2: #
1.187   ! sthen       3: #      $OpenBSD: rc.conf,v 1.186 2014/03/13 10:11:01 florian Exp $
1.172     deraadt     4:
                      5: # DO NOT EDIT THIS FILE!!
                      6: #
                      7: # This file defines the default service selection as shipped in a
                      8: # release.  Upgrades of your system will modify this file.
                      9: #
                     10: # To select the service options you desire, please override these
                     11: # options in the file /etc/rc.conf.local
                     12: #
                     13: # DO NOT EDIT THIS FILE!!
1.1       deraadt    14:
                     15: # set these to "NO" to turn them off.  otherwise, they're used as flags
1.136     michele    16: ldpd_flags=NO          # for normal use: ""
1.118     norby      17: ripd_flags=NO          # for normal use: ""
1.39      deraadt    18: mrouted_flags=NO       # for normal use: "", if activated
1.35      niklas     19:                        # be sure to enable multicast_router below.
1.114     norby      20: dvmrpd_flags=NO                # for normal use: ""
1.105     henning    21: ospfd_flags=NO         # for normal use: ""
1.125     norby      22: ospf6d_flags=NO                # for normal use: ""
1.95      henning    23: bgpd_flags=NO          # for normal use: ""
1.39      deraadt    24: rarpd_flags=NO         # for normal use: "-a"
                     25: bootparamd_flags=NO    # for normal use: ""
                     26: rbootd_flags=NO                # for normal use: ""
1.57      deraadt    27: sshd_flags=""          # for normal use: ""
1.39      deraadt    28: named_flags=NO         # for normal use: ""
1.184     ajacouto   29: nsd_flags=NO           # for normal use: "-c /var/nsd/etc/nsd.conf"
1.187   ! sthen      30: unbound_flags=NO       # for normal use: "-c /var/unbound/etc/unbound.conf"
1.130     mbalmer    31: ldattach_flags=NO      # for normal use: "[options] linedisc cua-device"
1.102     henning    32: ntpd_flags=NO          # for normal use: ""
1.39      deraadt    33: isakmpd_flags=NO       # for normal use: ""
1.137     reyk       34: iked_flags=NO          # for normal use: ""
1.116     mcbride    35: sasyncd_flags=NO       # for normal use: ""
1.39      deraadt    36: mopd_flags=NO          # for normal use: "-a"
                     37: apmd_flags=NO          # for normal use: ""
1.99      henning    38: dhcpd_flags=NO         # for normal use: ""
1.115     norby      39: dhcrelay_flags=NO      # for normal use: "-i interface [server]"
1.42      itojun     40: rtadvd_flags=NO                # for normal use: list of interfaces
                     41:                        # be sure to set net.inet6.ip6.forwarding=1
                     42: route6d_flags=NO       # for normal use: ""
                     43:                        # be sure to set net.inet6.ip6.forwarding=1
                     44: rtsold_flags=NO                # for normal use: interface
                     45:                        # be sure to set net.inet6.ip6.forwarding=0
                     46:                        # be sure to set net.inet6.ip6.accept_rtadv=1
1.160     fgsch      47:                        # be sure to set net.inet6.icmp6.rediraccept=1
1.62      fgsch      48: lpd_flags=NO           # for normal use: "" (or "-l" for debugging)
1.91      henning    49: sensorsd_flags=NO      # for normal use: ""
1.97      grange     50: hotplugd_flags=NO      # for normal use: ""
1.107     henning    51: watchdogd_flags=NO     # for normal use: ""
1.109     camield    52: ftpproxy_flags=NO      # for normal use: ""
1.111     reyk       53: hostapd_flags=NO       # for normal use: ""
1.117     mpf        54: ifstated_flags=NO      # for normal use: ""
1.127     deraadt    55: relayd_flags=NO                # for normal use: ""
1.128     reyk       56: snmpd_flags=NO         # for normal use: ""
1.185     tedu       57: smtpd_flags=""         # for normal use: ""
1.164     ratchov    58: sndiod_flags=""                # for normal use: ""
1.138     martinh    59: ldapd_flags=NO         # for normal use: ""
1.171     yasuoka    60: npppd_flags=NO         # for normal use: ""
1.177     deraadt    61: inetd_flags=NO         # for normal use: ""
1.142     robert     62: rwhod_flags=NO         # for normal use: ""
1.143     robert     63: portmap_flags=NO       # for normal use: ""
1.162     ajacouto   64:                        # Note: inetd(8) rpc services need portmap too
1.145     ajacouto   65: kdc_flags=NO           # for normal use: "" see 'info heimdal' for help
                     66: kadmind_flags=NO       # for normal use: ""
                     67: kpasswdd_flags=NO      # for normal use: ""
1.181     ajacouto   68: ipropd_master_flags=NO # for normal use: ""
                     69: ipropd_slave_flags=NO  # for normal use: "[master hostname]"
1.182     ajacouto   70: amd_flags=NO           # for normal use: "" and see amd_master below
1.166     dlg        71: tftpd_flags=NO         # for normal use: "[chroot dir]"
1.168     dlg        72: tftpproxy_flags=NO     # for normal use: ""
1.173     kettenis   73: ldomd_flags=NO         # for normal use: ""
1.182     ajacouto   74: identd_flags=NO                # for normal use: "-e"
1.170     ajacouto   75:
                     76: # use -u to disable chroot, see nginx(8)
                     77: nginx_flags=NO         # for normal use: ""
1.179     naddy      78: slowcgi_flags=NO       # for normal use: ""
1.69      millert    79:
1.77      deraadt    80: # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
1.185     tedu       81: sendmail_flags=NO
1.126     jmc        82: spamd_flags=NO         # for normal use: "" and see spamd(8)
1.123     beck       83: spamd_black=NO         # set to YES to run spamd without greylisting
1.104     henning    84: spamlogd_flags=""      # use eg. "-i interface" and see spamlogd(8)
1.33      downsj     85:
                     86: # Set to NO if ftpd is running out of inetd
1.165     ajacouto   87: ftpd_flags=NO          # for non-inetd use: ""
1.19      deraadt    88:
                     89: # On some architectures, you must also disable console getty in /etc/ttys
1.39      deraadt    90: xdm_flags=NO           # for normal use: ""
1.52      aaron      91:
1.108     deraadt    92: # For enabling console mouse support (i386 alpha amd64)
1.60      aaron      93: wsmoused_flags=NO      # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
1.1       deraadt    94:
                     95: # set the following to "YES" to turn them on
1.133     henning    96: pf=YES                 # Packet filter / NAT
1.110     hshoexer   97: ipsec=NO               # IPsec
1.131     uwe        98: bt=NO                  # Bluetooth
1.56      krw        99: check_quotas=YES       # NO may be desirable in some YP environments
1.121     ajacouto  100: accounting=NO          # process accounting (using /var/account/acct)
1.63      hin       101:
1.35      niklas    102: # Multicast routing configuration
1.90      david     103: # Please look at netstart(8) for a detailed description if you change these
1.35      niklas    104: multicast_host=NO      # Route all multicast packets to a single interface
                    105: multicast_router=NO    # A multicast routing daemon will be run, e.g. mrouted
1.1       deraadt   106:
                    107: # miscellaneous other flags
1.72      tholo     108: savecore_flags=                        # "-z" to compress
1.163     ajacouto  109: ypbind_flags=NO                        # for normal use: ""
1.148     ajacouto  110: ypserv_flags=NO                        # add more flags, eg. -1 for YP v1, -d for DNS etc
1.155     deraadt   111: ypldap_flags=NO                        # for normal use: ""
1.92      deraadt   112: yppasswdd_flags=NO             # "-d /etc/yp" if passwd files are in /etc/yp
1.149     ajacouto  113: nfsd_flags=NO                  # for normal use: "-tun 4" and see nfsd(8)
                    114: mountd_flags=NO                        # for normal use: ""
                    115: lockd_flags=NO                 # for normal use: ""
                    116: statd_flags=NO                 # for normal use: ""
1.1       deraadt   117: amd_master=/etc/amd/master     # AMD 'master' map
1.139     jmc       118: syslogd_flags=                 # add more flags, e.g. "-u -a /chroot/dev/log"
1.65      kjell     119: pf_rules=/etc/pf.conf          # Packet filter rules file
1.110     hshoexer  120: ipsec_rules=/etc/ipsec.conf    # IPsec rules file
1.131     uwe       121: bt_rules=/etc/bt.conf          # Bluetooth rules file
1.139     jmc       122: pflogd_flags=                  # add more flags, e.g. "-s 256"
1.87      pvalchev  123: shlib_dirs=                    # extra directories for ldconfig, separated
                    124:                                # by space
1.141     ajacouto  125:
1.144     ajacouto  126: # rc.d(8) packages scripts
1.141     ajacouto  127: # started in the specified order and stopped in reverse order
1.152     ajacouto  128: pkg_scripts=
1.45      deraadt   129:
1.178     ajacouto  130: unset kadmind_flags kdc_flags kpasswdd_flags mountd_flags nfsd_flags ypbind_flags
1.175     ajacouto  131:
1.174     ajacouto  132: [ -f /etc/rc.conf.local ] && . /etc/rc.conf.local
1.151     robert    133:
                    134: # special care needed for spamlogd to avoid starting it up and failing
                    135: # all the time
                    136: if [  X"${spamd_flags}" = X"NO" -o X"${spamd_black}" != X"NO" ]; then
                    137:        spamlogd_flags=NO
1.154     robert    138: fi
                    139:
                    140: # special care needed for pflogd to avoid starting it up and failing
                    141: # if pf is not enabled
1.157     david     142: if [ X"${pf}" = X"NO" ]; then
1.154     robert    143:        pflogd_flags=NO
1.151     robert    144: fi
1.175     ajacouto  145:
                    146: # backward compatibility
1.178     ajacouto  147: : ${kadmind_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
1.175     ajacouto  148: : ${kdc_flags=$([ X"${krb5_master_kdc-NO}" = XYES -o X"${krb5_slave_kdc-NO}" = XYES ] || echo NO)}
                    149: : ${kpasswdd_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
1.178     ajacouto  150: : ${mountd_flags=$([ X"${nfs_server-NO}" = XYES ] || echo NO)}
1.175     ajacouto  151: : ${nfsd_flags=$([ X"${nfs_server-NO}" = XYES ] && echo "-tun 4" || echo NO)}
                    152: : ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}