summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-02-18 14:05:29 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-02-18 14:05:29 +0000
commit6bb8b19d3c96deb685911d4fb666cbe2249b3a4a (patch)
treeaea817ea0e359522f52d096eafbf119f2300254e /etc/rc
parent02e10e1ec3f65adb26643902372d4052445efe55 (diff)
add an option for kerberos slave servers.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc12
1 files changed, 10 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index d93083c337e..392449b1eb8 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.65 1998/02/13 06:35:25 marc Exp $
+# $OpenBSD: rc,v 1.66 1998/02/18 14:05:27 art Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -395,13 +395,21 @@ if [ -f /sbin/ldconfig ]; then
ldconfig $_LIBS
fi
-# Kerberos runs ONLY on the Kerberos server machine
+# Kerberos runs ONLY on the Kerberos servers
+# Kadmin is runs only on the main server
if [ X${kerberos_server} = X"YES" ]; then
echo 'kerberos server'
/usr/libexec/kerberos >> /var/log/kerberos.log &
/usr/libexec/kadmind -n >> /var/log/kadmind.log &
fi
+# Kpropd runs only on Kerberos slave servers
+if [ X${kerberos_slave} = X"YES" ]; then
+ echo 'kerberos slave server'
+ /usr/libexec/kerberos -s >> /var/log/kerberos.log &
+ /usr/libexec/kpropd -i &
+fi
+
. /etc/rc.local
date