summaryrefslogtreecommitdiff
path: root/security/heimdal/files/kadmind.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/heimdal/files/kadmind.sh')
-rw-r--r--security/heimdal/files/kadmind.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/heimdal/files/kadmind.sh b/security/heimdal/files/kadmind.sh
new file mode 100644
index 00000000000..e9a3171cdeb
--- /dev/null
+++ b/security/heimdal/files/kadmind.sh
@@ -0,0 +1,20 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: kadmind.sh,v 1.1 2005/10/26 15:12:45 jlam Exp $
+#
+# PROVIDE: kadmind
+# REQUIRE: NETWORKING
+# BEFORE: SERVERS
+
+. /etc/rc.subr
+
+name="kadmind"
+rcvar=$name
+command="@PREFIX@/libexec/${name}"
+command_args="& sleep 2"
+required_files="@PKG_SYSCONFDIR@/krb5.conf"
+required_vars="kdc"
+
+load_rc_config $name
+load_rc_config_var kdc kdc
+run_rc_command "$1"