summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/rc.conf4
-rwxr-xr-xetc/rc.d/kfd12
2 files changed, 7 insertions, 9 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index edccc64..0d31d54 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -297,8 +297,8 @@ 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)
kpasswdd_server="/usr/libexec/kpasswdd" # path to kerberos 5 passwd daemon
-kfd_server_enable="NO" # Run kfd (or NO)
-kfd_server="/usr/libexec/kfd" # path to kerberos 5 kfd daemon
+kfd_enable="NO" # Run kfd (or NO)
+kfd_program="/usr/libexec/kfd" # path to kerberos 5 kfd daemon
gssd_enable="NO" # Run the gssd daemon (or NO).
gssd_flags="" # Flags for gssd.
diff --git a/etc/rc.d/kfd b/etc/rc.d/kfd
index 0eed51a..d393f95 100755
--- a/etc/rc.d/kfd
+++ b/etc/rc.d/kfd
@@ -4,16 +4,14 @@
#
# PROVIDE: kfd
-# BEFORE: DAEMON
+# REQUIRE: NETWORK
+# KEYWORD: shutdown
. /etc/rc.subr
-name="kfd"
+name=kfd
+rcvar=kfd_enable
load_rc_config $name
-rcvar="kfd_server_enable"
-unset start_cmd
-command="${kfd_server}"
-kfd_flags="-i"
-command_args="&"
+command_args="-i &"
run_rc_command "$1"
OpenPOWER on IntegriCloud