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

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

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