|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: rc.conf,v 1.144 2011/07/07 14:43:49 ajacoutot Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.conf,v 1.145 2011/07/07 18:17:50 ajacoutot Exp $ |
|
|
|
|
|
|
|
|
# set these to "NO" to turn them off. otherwise, they're used as flags |
|
|
# set these to "NO" to turn them off. otherwise, they're used as flags |
|
|
ldpd_flags=NO # for normal use: "" |
|
|
ldpd_flags=NO # for normal use: "" |
|
@ -50,6 +50,9 @@ ldapd_flags=NO # for normal use: "" |
|
|
inetd_flags="" # for normal use: "" |
|
|
inetd_flags="" # for normal use: "" |
|
|
rwhod_flags=NO # for normal use: "" |
|
|
rwhod_flags=NO # for normal use: "" |
|
|
portmap_flags=NO # for normal use: "" |
|
|
portmap_flags=NO # for normal use: "" |
|
|
|
|
|
kdc_flags=NO # for normal use: "" see 'info heimdal' for help |
|
|
|
|
|
kadmind_flags=NO # for normal use: "" |
|
|
|
|
|
kpasswdd_flags=NO # for normal use: "" |
|
|
|
|
|
|
|
|
# use -u to disable chroot, see httpd(8) |
|
|
# use -u to disable chroot, see httpd(8) |
|
|
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) |
|
|
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) |
|
@ -83,8 +86,6 @@ portmap=NO # Note: inetd(8) rpc services need portmap too |
|
|
check_quotas=YES # NO may be desirable in some YP environments |
|
|
check_quotas=YES # NO may be desirable in some YP environments |
|
|
accounting=NO # process accounting (using /var/account/acct) |
|
|
accounting=NO # process accounting (using /var/account/acct) |
|
|
|
|
|
|
|
|
krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help. |
|
|
|
|
|
krb5_slave_kdc=NO # KerberosV slave KDC. |
|
|
|
|
|
afs=NO # mount and run afs |
|
|
afs=NO # mount and run afs |
|
|
|
|
|
|
|
|
# Multicast routing configuration |
|
|
# Multicast routing configuration |
|
@ -114,11 +115,14 @@ rc_scripts= |
|
|
|
|
|
|
|
|
local_rcconf="/etc/rc.conf.local" |
|
|
local_rcconf="/etc/rc.conf.local" |
|
|
|
|
|
|
|
|
unset inetd_flags rwhod_flags portmap_flags |
|
|
|
|
|
|
|
|
unset inetd_flags rwhod_flags portmap_flags kdc_flags kadmind_flags kpasswdd_flags |
|
|
|
|
|
|
|
|
[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line |
|
|
[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line |
|
|
|
|
|
|
|
|
# backward compatibility for inetd, portmap and rwhod |
|
|
|
|
|
|
|
|
# backward compatibility |
|
|
: ${inetd_flags=$([ X"${inetd-YES}" = XYES ] || echo NO)} |
|
|
: ${inetd_flags=$([ X"${inetd-YES}" = XYES ] || echo NO)} |
|
|
: ${rwhod_flags=$([ X"${rwhod-NO}" = XYES ] || echo NO)} |
|
|
: ${rwhod_flags=$([ X"${rwhod-NO}" = XYES ] || echo NO)} |
|
|
: ${portmap_flags=$([ X"${portmap-NO}" = XYES ] || echo NO)} |
|
|
: ${portmap_flags=$([ X"${portmap-NO}" = XYES ] || echo NO)} |
|
|
|
|
|
: ${kdc_flags=$([ X"${krb5_master_kdc-NO}" = XYES -o X"${krb5_slave_kdc-NO}" = XYES ] || echo NO)} |
|
|
|
|
|
: ${kadmind_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)} |
|
|
|
|
|
: ${kpasswdd_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)} |