diff options
author | stas <stas@FreeBSD.org> | 2012-04-10 09:27:41 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2012-04-10 09:27:41 +0000 |
commit | f0a3749f68202e6a929d339b7a7f7e878762f385 (patch) | |
tree | 12655ba306928548df7e2fbd08243ab8ff9e3bc7 | |
parent | 69b4bd16e03d2fab20d3bb0be66ca5aa7d1c6a46 (diff) | |
download | FreeBSD-src-f0a3749f68202e6a929d339b7a7f7e878762f385.zip FreeBSD-src-f0a3749f68202e6a929d339b7a7f7e878762f385.tar.gz |
- Add rc.d script for kfd, kerberos forwarded tickets daemon.
-rw-r--r-- | etc/defaults/rc.conf | 2 | ||||
-rw-r--r-- | etc/rc.d/Makefile | 1 | ||||
-rwxr-xr-x | etc/rc.d/kfd | 19 |
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" |