summaryrefslogtreecommitdiff
path: root/security/mit-krb5/files/kdc.sh
blob: cd35dbbaabaf248906460fae33e44d90213b5eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: kdc.sh,v 1.2 2005/04/10 07:15:25 jlam Exp $
#
# PROVIDE: kdc
# REQUIRE: NETWORKING
# BEFORE:  SERVERS

. /etc/rc.subr

name="kdc"
rcvar=$name
command="@PREFIX@/sbin/krb5kdc"
required_files="@PKG_SYSCONFDIR@/krb5.conf @MIT_KRB5_STATEDIR@/krb5kdc/kdc.conf"

load_rc_config $name
run_rc_command "$1"