2000-08-07 01:32:56 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2008-01-17 02:58:26 +03:00
|
|
|
# $NetBSD: kdc,v 1.7 2008/01/16 23:58:26 lukem Exp $
|
2000-08-07 01:32:56 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: kdc
|
2008-01-17 02:58:26 +03:00
|
|
|
# REQUIRE: NETWORKING syslogd ntpdate
|
2002-03-22 07:33:57 +03:00
|
|
|
# BEFORE: SERVERS
|
2000-08-07 01:32:56 +04:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2000-08-07 01:32:56 +04:00
|
|
|
|
|
|
|
name="kdc"
|
2000-09-19 17:04:38 +04:00
|
|
|
rcvar=$name
|
2000-08-07 01:32:56 +04:00
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
required_files="/etc/krb5.conf"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|