Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Startup script glue for the Heimdal KDC.



details:   https://anonhg.NetBSD.org/src/rev/9daed76a5f25
branches:  trunk
changeset: 495806:9daed76a5f25
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 06 21:32:56 2000 +0000

description:
Startup script glue for the Heimdal KDC.

diffstat:

 etc/rc.d/Makefile |   4 ++--
 etc/rc.d/SERVERS  |   4 ++--
 etc/rc.d/kdc      |  17 +++++++++++++++++
 etc/rc.d/kerberos |  27 ---------------------------
 4 files changed, 21 insertions(+), 31 deletions(-)

diffs (82 lines):

diff -r 38a3f6907a3a -r 9daed76a5f25 etc/rc.d/Makefile
--- a/etc/rc.d/Makefile Sun Aug 06 20:44:54 2000 +0000
+++ b/etc/rc.d/Makefile Sun Aug 06 21:32:56 2000 +0000
@@ -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 \
diff -r 38a3f6907a3a -r 9daed76a5f25 etc/rc.d/SERVERS
--- a/etc/rc.d/SERVERS  Sun Aug 06 20:44:54 2000 +0000
+++ b/etc/rc.d/SERVERS  Sun Aug 06 21:32:56 2000 +0000
@@ -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.
diff -r 38a3f6907a3a -r 9daed76a5f25 etc/rc.d/kdc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/rc.d/kdc      Sun Aug 06 21:32:56 2000 +0000
@@ -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"
diff -r 38a3f6907a3a -r 9daed76a5f25 etc/rc.d/kerberos
--- a/etc/rc.d/kerberos Sun Aug 06 20:44:54 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index