aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/routing
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1998-04-12 09:47:43 +0000
committerMark Murray <markm@FreeBSD.org>1998-04-12 09:47:43 +0000
commitc1d639d22fd80641d7441cb23e056aebfadf2b54 (patch)
tree1d0aa95e9854a2ae47bb7e9e3267669192793ac5 /etc/rc.d/routing
parent44ed0f37481a487bf58d10d01138062183977390 (diff)
downloadsrc-c1d639d22fd80641d7441cb23e056aebfadf2b54.tar.gz
src-c1d639d22fd80641d7441cb23e056aebfadf2b54.zip
Enable the SecureRPC bits in rc.conf, if the Administrator wants them.
Notes
Notes: svn path=/head/; revision=35149
Diffstat (limited to 'etc/rc.d/routing')
-rw-r--r--etc/rc.d/routing11
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 2fbdf4fa9beb..1e49f779f13c 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.network,v 1.19 1998/02/20 14:45:06 brian Exp $
+# $Id$
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# Note that almost all the user-configurable behavior is no longer in
@@ -197,6 +197,15 @@ network_pass2() {
fi
fi
+ # Start keyserv if we are running Secure RPC
+ if [ "X${keyserv_enable}" = X"YES" ]; then
+ echo -n ' keyserv'; keyserv ${keyserv_flags}
+ fi
+ # Start ypupdated if we are running Secure RPC and we are NIS master
+ if [ "X$rpc_ypupdated_enable" = X"YES" ]; then
+ echo -n ' rpc.ypupdated'; rpc.ypupdated
+ fi
+
echo '.'
network_pass2_done=YES
}