summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-01-25 05:23:01 +0000
committermtm <mtm@FreeBSD.org>2008-01-25 05:23:01 +0000
commit17279cebaf9092ea08be909c6ac1f59b9edb6ab0 (patch)
tree4ca4b9d48aad02928787a05a944e6c62c3b16e8a /etc
parentfb709bf5c600e28b14184f4ad02875dd9392639b (diff)
downloadFreeBSD-src-17279cebaf9092ea08be909c6ac1f59b9edb6ab0.zip
FreeBSD-src-17279cebaf9092ea08be909c6ac1f59b9edb6ab0.tar.gz
Rev. 1.6 made it impossible to use rc.d/kerberos with the krb5 port.
Re-implement the change so that the script once again works with the krb5 port. Submitted by: kensmith (slightly modified) MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf2
-rw-r--r--etc/rc.d/kerberos1
2 files changed, 1 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 78f0659..4734387 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -239,7 +239,7 @@ named_symlink_enable="YES" # Symlink the chrooted pid file
#
kerberos5_server_enable="NO" # Run a kerberos 5 master server (or NO).
kerberos5_server="/usr/libexec/kdc" # path to kerberos 5 KDC
-kerberos5_server_flags="" # Additional flags to the kerberos 5 server
+kerberos5_server_flags="--detach" # Additional flags to the kerberos 5 server
kadmind5_server_enable="NO" # Run kadmind (or NO)
kadmind5_server="/usr/libexec/kadmind" # path to kerberos 5 admin daemon
kpasswdd_server_enable="NO" # Run kpasswdd (or NO)
diff --git a/etc/rc.d/kerberos b/etc/rc.d/kerberos
index 7bf670b..3eeb32a 100644
--- a/etc/rc.d/kerberos
+++ b/etc/rc.d/kerberos
@@ -10,7 +10,6 @@
name="kerberos5"
rcvar="kerberos5_server_enable"
-command_args="--detach"
load_rc_config $name
command="${kerberos5_server}"
OpenPOWER on IntegriCloud