Startup script glue for the Heimdal KDC.

This commit is contained in:
thorpej 2000-08-06 21:32:56 +00:00
parent 9ccb9bba06
commit f0c5d26a40
4 changed files with 21 additions and 31 deletions

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.9 2000/07/31 20:39:41 jwise Exp $
# $NetBSD: Makefile,v 1.10 2000/08/06 21:32:56 thorpej Exp $
FILES= DAEMON LOGIN NETWORK SERVERS accounting amd apmd bootparams \
bootconf.sh ccd cleartmp cron dhclient dhcpd dhcrelay dmesg fsck.sh \
gated inetd ipfilter ipmon ipnat ipsec kerberos ldconfig lkm1 lkm2 \
gated inetd ipfilter ipmon ipnat ipsec kdc ldconfig lkm1 lkm2 \
lkm3 local lpd mopd \
motd mountall mountcritlocal mountcritremote mountd mrouted named \
network nfsd nfslocking ntpd ntpdate rpcbind postfix ppp pwcheck quota \

View File

@ -1,10 +1,10 @@
#!/bin/sh
#
# $NetBSD: SERVERS,v 1.2 2000/07/26 00:11:49 lukem Exp $
# $NetBSD: SERVERS,v 1.3 2000/08/06 21:32:56 thorpej Exp $
#
# PROVIDE: SERVERS
# REQUIRE: ipmon ppp savecore syslogd
# REQUIRE: ipmon ppp savecore syslogd kdc
# This is a dummy dependancy, for early-start servers relying on
# some basic configuration.

17
etc/rc.d/kdc Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
#
# $NetBSD: kdc,v 1.1 2000/08/06 21:32:56 thorpej Exp $
#
# PROVIDE: kdc
# REQUIRE: mountcritremote
. /etc/rc.subr
name="kdc"
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/krb5.conf"
load_rc_config $name
run_rc_command "$1"

View File

@ -1,27 +0,0 @@
#!/bin/sh
#
# $NetBSD: kerberos,v 1.4 2000/05/13 08:45:07 lukem Exp $
#
# PROVIDE: kerberos
# REQUIRE: DAEMON LOGIN
. /etc/rc.subr
arg=$1
name="kerberos"
command="/usr/sbin/${name}"
command_args=">> /var/log/${name}.log &"
load_rc_config $name
run_rc_command "$arg"
name="kadmind"
rcvar="kerberos"
command="/usr/sbin/${name}"
command_args="-n >> /var/log/${name}.log &"
# Note: config is shared with kerberos
run_rc_command "$arg"