summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf2
-rw-r--r--etc/rc.d/Makefile1
-rwxr-xr-xetc/rc.d/kfd19
3 files changed, 22 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index a2a61fa..edccc64 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -297,6 +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
gssd_enable="NO" # Run the gssd daemon (or NO).
gssd_flags="" # Flags for gssd.
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 460de6f..8ee8b8c 100644
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -66,6 +66,7 @@ FILES= DAEMON \
kadmind \
kerberos \
keyserv \
+ kfd \
kld \
kldxref \
kpasswdd \
diff --git a/etc/rc.d/kfd b/etc/rc.d/kfd
new file mode 100755
index 0000000..0eed51a
--- /dev/null
+++ b/etc/rc.d/kfd
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: kfd
+# BEFORE: DAEMON
+
+. /etc/rc.subr
+
+name="kfd"
+load_rc_config $name
+rcvar="kfd_server_enable"
+unset start_cmd
+command="${kfd_server}"
+kfd_flags="-i"
+command_args="&"
+
+run_rc_command "$1"
OpenPOWER on IntegriCloud