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

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

1.1       deraadt     1: #!/bin/sh -
                      2: #
1.178   ! ajacouto    3: #      $OpenBSD: rc.conf,v 1.177 2013/04/21 10:30:58 deraadt 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.140     jakob      29: nsd_flags=NO           # for normal use: ""
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.132     jacekm     56: smtpd_flags=NO         # 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.150     robert     67: btd_flags=NO           # for normal use: ""
1.154     robert     68: amd_flags=NO           # for normal use: ""
1.166     dlg        69: tftpd_flags=NO         # for normal use: "[chroot dir]"
1.168     dlg        70: tftpproxy_flags=NO     # for normal use: ""
1.173     kettenis   71: ldomd_flags=NO         # for normal use: ""
1.75      deraadt    72:
                     73: # use -u to disable chroot, see httpd(8)
                     74: httpd_flags=NO         # for normal use: "" (or "-DSSL" after reading ssl(8))
1.170     ajacouto   75:
                     76: # use -u to disable chroot, see nginx(8)
                     77: nginx_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.69      millert    80: sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
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.41      fgsch      87:
                     88: # Set to NO if identd is running out of inetd
1.176     deraadt    89: identd_flags=NO                # for non-inetd use: "-el"
1.161     robert     90:
                     91: # Set to NO if popa3d is running out of inetd
1.165     ajacouto   92: popa3d_flags=NO                # for non-inetd use: ""
1.19      deraadt    93:
                     94: # On some architectures, you must also disable console getty in /etc/ttys
1.39      deraadt    95: xdm_flags=NO           # for normal use: ""
1.52      aaron      96:
1.108     deraadt    97: # For enabling console mouse support (i386 alpha amd64)
1.60      aaron      98: wsmoused_flags=NO      # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
1.1       deraadt    99:
                    100: # set the following to "YES" to turn them on
1.133     henning   101: pf=YES                 # Packet filter / NAT
1.110     hshoexer  102: ipsec=NO               # IPsec
1.131     uwe       103: bt=NO                  # Bluetooth
1.56      krw       104: check_quotas=YES       # NO may be desirable in some YP environments
1.121     ajacouto  105: accounting=NO          # process accounting (using /var/account/acct)
1.63      hin       106:
1.35      niklas    107: # Multicast routing configuration
1.90      david     108: # Please look at netstart(8) for a detailed description if you change these
1.35      niklas    109: multicast_host=NO      # Route all multicast packets to a single interface
                    110: multicast_router=NO    # A multicast routing daemon will be run, e.g. mrouted
1.1       deraadt   111:
                    112: # miscellaneous other flags
1.72      tholo     113: savecore_flags=                        # "-z" to compress
1.163     ajacouto  114: ypbind_flags=NO                        # for normal use: ""
1.148     ajacouto  115: ypserv_flags=NO                        # add more flags, eg. -1 for YP v1, -d for DNS etc
1.155     deraadt   116: ypldap_flags=NO                        # for normal use: ""
1.92      deraadt   117: yppasswdd_flags=NO             # "-d /etc/yp" if passwd files are in /etc/yp
1.149     ajacouto  118: nfsd_flags=NO                  # for normal use: "-tun 4" and see nfsd(8)
                    119: mountd_flags=NO                        # for normal use: ""
                    120: lockd_flags=NO                 # for normal use: ""
                    121: statd_flags=NO                 # for normal use: ""
1.1       deraadt   122: amd_master=/etc/amd/master     # AMD 'master' map
1.139     jmc       123: syslogd_flags=                 # add more flags, e.g. "-u -a /chroot/dev/log"
1.65      kjell     124: pf_rules=/etc/pf.conf          # Packet filter rules file
1.110     hshoexer  125: ipsec_rules=/etc/ipsec.conf    # IPsec rules file
1.131     uwe       126: bt_rules=/etc/bt.conf          # Bluetooth rules file
1.139     jmc       127: pflogd_flags=                  # add more flags, e.g. "-s 256"
1.87      pvalchev  128: shlib_dirs=                    # extra directories for ldconfig, separated
                    129:                                # by space
1.141     ajacouto  130:
1.144     ajacouto  131: # rc.d(8) packages scripts
1.141     ajacouto  132: # started in the specified order and stopped in reverse order
1.152     ajacouto  133: pkg_scripts=
1.45      deraadt   134:
1.178   ! ajacouto  135: unset kadmind_flags kdc_flags kpasswdd_flags mountd_flags nfsd_flags ypbind_flags
1.175     ajacouto  136:
1.174     ajacouto  137: [ -f /etc/rc.conf.local ] && . /etc/rc.conf.local
1.151     robert    138:
                    139: # special care needed for spamlogd to avoid starting it up and failing
                    140: # all the time
                    141: if [  X"${spamd_flags}" = X"NO" -o X"${spamd_black}" != X"NO" ]; then
                    142:        spamlogd_flags=NO
1.154     robert    143: fi
                    144:
                    145: # special care needed for pflogd to avoid starting it up and failing
                    146: # if pf is not enabled
1.157     david     147: if [ X"${pf}" = X"NO" ]; then
1.154     robert    148:        pflogd_flags=NO
1.151     robert    149: fi
1.175     ajacouto  150:
                    151: # backward compatibility
1.178   ! ajacouto  152: : ${kadmind_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
1.175     ajacouto  153: : ${kdc_flags=$([ X"${krb5_master_kdc-NO}" = XYES -o X"${krb5_slave_kdc-NO}" = XYES ] || echo NO)}
                    154: : ${kpasswdd_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
1.178   ! ajacouto  155: : ${mountd_flags=$([ X"${nfs_server-NO}" = XYES ] || echo NO)}
1.175     ajacouto  156: : ${nfsd_flags=$([ X"${nfs_server-NO}" = XYES ] && echo "-tun 4" || echo NO)}
                    157: : ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}