summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1997-11-07 20:45:48 +0000
committersef <sef@FreeBSD.org>1997-11-07 20:45:48 +0000
commit5cb2a472c9a3fdbbaa75efe5afcdc62cc8710007 (patch)
treea38e2586a212382561d7a938eabc6e016b6251ee /etc/rc.network
parenta44ce4640cf6552a1837b693e2990e84afdbb74a (diff)
downloadFreeBSD-src-5cb2a472c9a3fdbbaa75efe5afcdc62cc8710007.zip
FreeBSD-src-5cb2a472c9a3fdbbaa75efe5afcdc62cc8710007.tar.gz
Allow the system to be configured to pass "-n" to kerberos and
kadmind or not; also, only run kadmind on a non-slave server. Man page for rc.conf is also updated. Reviewed by: Mark Murray
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network17
1 files changed, 13 insertions, 4 deletions
diff --git a/etc/rc.network b/etc/rc.network
index 8199371..5eeffb3 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.10 1997/09/11 10:59:02 danny Exp $
+# $Id: rc.network,v 1.11 1997/09/18 22:43:48 danny Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -222,9 +222,18 @@ network_pass3() {
# Kerberos runs ONLY on the Kerberos server machine
if [ "X${kerberos_server_enable}" = X"YES" ]; then
- echo -n ' kerberos'; kerberos >> /var/log/kerberos.log &
- echo -n ' kadmind'; \
- (sleep 20; kadmind -n >/dev/null 2>&1 &) &
+ if [ "X${kerberos_stash}" = "XYES" ]; then
+ stash_flag=-n
+ else
+ stash_flag=
+ fi
+ echo -n ' kerberos'; \
+ kerberos ${stash_flags} >> /var/log/kerberos.log &
+ if [ "X${kadmind_server_enable}" = "XYES" ]; then
+ echo -n ' kadmind'; \
+ (sleep 20; kadmind ${stash_flags} >/dev/null 2>&1 &) &
+ fi
+ unset stash_flag
fi
# IP multicast routing daemon
OpenPOWER on IntegriCloud