Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

154 lines
6.0 KiB

25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
12 years ago
25 years ago
  1. #!/bin/sh -
  2. #
  3. # $OpenBSD: rc.conf,v 1.184 2013/12/18 09:12:33 ajacoutot Exp $
  4. # DO NOT EDIT THIS FILE!!
  5. #
  6. # This file defines the default service selection as shipped in a
  7. # release. Upgrades of your system will modify this file.
  8. #
  9. # To select the service options you desire, please override these
  10. # options in the file /etc/rc.conf.local
  11. #
  12. # DO NOT EDIT THIS FILE!!
  13. # set these to "NO" to turn them off. otherwise, they're used as flags
  14. ldpd_flags=NO # for normal use: ""
  15. ripd_flags=NO # for normal use: ""
  16. mrouted_flags=NO # for normal use: "", if activated
  17. # be sure to enable multicast_router below.
  18. dvmrpd_flags=NO # for normal use: ""
  19. ospfd_flags=NO # for normal use: ""
  20. ospf6d_flags=NO # for normal use: ""
  21. bgpd_flags=NO # for normal use: ""
  22. rarpd_flags=NO # for normal use: "-a"
  23. bootparamd_flags=NO # for normal use: ""
  24. rbootd_flags=NO # for normal use: ""
  25. sshd_flags="" # for normal use: ""
  26. named_flags=NO # for normal use: ""
  27. nsd_flags=NO # for normal use: "-c /var/nsd/etc/nsd.conf"
  28. ldattach_flags=NO # for normal use: "[options] linedisc cua-device"
  29. ntpd_flags=NO # for normal use: ""
  30. isakmpd_flags=NO # for normal use: ""
  31. iked_flags=NO # for normal use: ""
  32. sasyncd_flags=NO # for normal use: ""
  33. mopd_flags=NO # for normal use: "-a"
  34. apmd_flags=NO # for normal use: ""
  35. dhcpd_flags=NO # for normal use: ""
  36. dhcrelay_flags=NO # for normal use: "-i interface [server]"
  37. rtadvd_flags=NO # for normal use: list of interfaces
  38. # be sure to set net.inet6.ip6.forwarding=1
  39. route6d_flags=NO # for normal use: ""
  40. # be sure to set net.inet6.ip6.forwarding=1
  41. rtsold_flags=NO # for normal use: interface
  42. # be sure to set net.inet6.ip6.forwarding=0
  43. # be sure to set net.inet6.ip6.accept_rtadv=1
  44. # be sure to set net.inet6.icmp6.rediraccept=1
  45. lpd_flags=NO # for normal use: "" (or "-l" for debugging)
  46. sensorsd_flags=NO # for normal use: ""
  47. hotplugd_flags=NO # for normal use: ""
  48. watchdogd_flags=NO # for normal use: ""
  49. ftpproxy_flags=NO # for normal use: ""
  50. hostapd_flags=NO # for normal use: ""
  51. ifstated_flags=NO # for normal use: ""
  52. relayd_flags=NO # for normal use: ""
  53. snmpd_flags=NO # for normal use: ""
  54. smtpd_flags=NO # for normal use: ""
  55. sndiod_flags="" # for normal use: ""
  56. ldapd_flags=NO # for normal use: ""
  57. npppd_flags=NO # for normal use: ""
  58. inetd_flags=NO # for normal use: ""
  59. rwhod_flags=NO # for normal use: ""
  60. portmap_flags=NO # for normal use: ""
  61. # Note: inetd(8) rpc services need portmap too
  62. kdc_flags=NO # for normal use: "" see 'info heimdal' for help
  63. kadmind_flags=NO # for normal use: ""
  64. kpasswdd_flags=NO # for normal use: ""
  65. ipropd_master_flags=NO # for normal use: ""
  66. ipropd_slave_flags=NO # for normal use: "[master hostname]"
  67. amd_flags=NO # for normal use: "" and see amd_master below
  68. tftpd_flags=NO # for normal use: "[chroot dir]"
  69. tftpproxy_flags=NO # for normal use: ""
  70. ldomd_flags=NO # for normal use: ""
  71. identd_flags=NO # for normal use: "-e"
  72. # use -u to disable chroot, see httpd(8)
  73. httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
  74. # use -u to disable chroot, see nginx(8)
  75. nginx_flags=NO # for normal use: ""
  76. slowcgi_flags=NO # for normal use: ""
  77. # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
  78. sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
  79. spamd_flags=NO # for normal use: "" and see spamd(8)
  80. spamd_black=NO # set to YES to run spamd without greylisting
  81. spamlogd_flags="" # use eg. "-i interface" and see spamlogd(8)
  82. # Set to NO if ftpd is running out of inetd
  83. ftpd_flags=NO # for non-inetd use: ""
  84. # On some architectures, you must also disable console getty in /etc/ttys
  85. xdm_flags=NO # for normal use: ""
  86. # For enabling console mouse support (i386 alpha amd64)
  87. wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
  88. # set the following to "YES" to turn them on
  89. pf=YES # Packet filter / NAT
  90. ipsec=NO # IPsec
  91. bt=NO # Bluetooth
  92. check_quotas=YES # NO may be desirable in some YP environments
  93. accounting=NO # process accounting (using /var/account/acct)
  94. # Multicast routing configuration
  95. # Please look at netstart(8) for a detailed description if you change these
  96. multicast_host=NO # Route all multicast packets to a single interface
  97. multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted
  98. # miscellaneous other flags
  99. savecore_flags= # "-z" to compress
  100. ypbind_flags=NO # for normal use: ""
  101. ypserv_flags=NO # add more flags, eg. -1 for YP v1, -d for DNS etc
  102. ypldap_flags=NO # for normal use: ""
  103. yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp
  104. nfsd_flags=NO # for normal use: "-tun 4" and see nfsd(8)
  105. mountd_flags=NO # for normal use: ""
  106. lockd_flags=NO # for normal use: ""
  107. statd_flags=NO # for normal use: ""
  108. amd_master=/etc/amd/master # AMD 'master' map
  109. syslogd_flags= # add more flags, e.g. "-u -a /chroot/dev/log"
  110. pf_rules=/etc/pf.conf # Packet filter rules file
  111. ipsec_rules=/etc/ipsec.conf # IPsec rules file
  112. bt_rules=/etc/bt.conf # Bluetooth rules file
  113. pflogd_flags= # add more flags, e.g. "-s 256"
  114. shlib_dirs= # extra directories for ldconfig, separated
  115. # by space
  116. # rc.d(8) packages scripts
  117. # started in the specified order and stopped in reverse order
  118. pkg_scripts=
  119. unset kadmind_flags kdc_flags kpasswdd_flags mountd_flags nfsd_flags ypbind_flags
  120. [ -f /etc/rc.conf.local ] && . /etc/rc.conf.local
  121. # special care needed for spamlogd to avoid starting it up and failing
  122. # all the time
  123. if [ X"${spamd_flags}" = X"NO" -o X"${spamd_black}" != X"NO" ]; then
  124. spamlogd_flags=NO
  125. fi
  126. # special care needed for pflogd to avoid starting it up and failing
  127. # if pf is not enabled
  128. if [ X"${pf}" = X"NO" ]; then
  129. pflogd_flags=NO
  130. fi
  131. # backward compatibility
  132. : ${kadmind_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
  133. : ${kdc_flags=$([ X"${krb5_master_kdc-NO}" = XYES -o X"${krb5_slave_kdc-NO}" = XYES ] || echo NO)}
  134. : ${kpasswdd_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
  135. : ${mountd_flags=$([ X"${nfs_server-NO}" = XYES ] || echo NO)}
  136. : ${nfsd_flags=$([ X"${nfs_server-NO}" = XYES ] && echo "-tun 4" || echo NO)}
  137. : ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}