aboutsummaryrefslogtreecommitdiff
path: root/security/krb5-112/files/kpropd.in
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-10-16 19:44:22 +0000
committerCy Schubert <cy@FreeBSD.org>2014-10-16 19:44:22 +0000
commita28880acce9be4600706db68a8ca21fb8bd1dc3c (patch)
tree3efed35560be113a42a1a507a075ca41a260dea8 /security/krb5-112/files/kpropd.in
parent95b71a550fafebdc594131b37445306ac513e699 (diff)
downloadports-a28880acce9be4600706db68a8ca21fb8bd1dc3c.tar.gz
ports-a28880acce9be4600706db68a8ca21fb8bd1dc3c.zip
Notes
Diffstat (limited to 'security/krb5-112/files/kpropd.in')
-rw-r--r--security/krb5-112/files/kpropd.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/krb5-112/files/kpropd.in b/security/krb5-112/files/kpropd.in
new file mode 100644
index 000000000000..faa27dc7dbba
--- /dev/null
+++ b/security/krb5-112/files/kpropd.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: kpropd
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# kpropd_enable (bool): Set to NO by default.
+# Set it to YES to enable kpropd.
+# kpropd_flags (str): Set to "" by default.
+
+. /etc/rc.subr
+
+name=kpropd
+rcvar=kpropd_enable
+
+load_rc_config $name
+
+: ${kpropd_enable:="NO"}
+: ${kpropd_flags=""}
+
+command=%%PREFIX%%/sbin/${name}
+
+run_rc_command "$1"