summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-10-21 20:09:30 +0000
committerwpaul <wpaul@FreeBSD.org>1996-10-21 20:09:30 +0000
commitd7c6b63ef755212365d02ff2ce3e53b1cfe57b59 (patch)
tree80535edc3e7e18cbd03ffe34ae38a5165b50fb77 /etc
parentedf93e27efa054d7b3d3abf9248baef1d6c9ea2f (diff)
downloadFreeBSD-src-d7c6b63ef755212365d02ff2ce3e53b1cfe57b59.zip
FreeBSD-src-d7c6b63ef755212365d02ff2ce3e53b1cfe57b59.tar.gz
Add hooks for rpc.ypxfrd in /etc/sysconfig and /etc/rc. Also change
a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)
Diffstat (limited to 'etc')
-rw-r--r--etc/rc10
-rw-r--r--etc/sysconfig9
2 files changed, 14 insertions, 5 deletions
diff --git a/etc/rc b/etc/rc
index a94bf2e..7531168 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.100 1996/10/08 20:00:44 peter Exp $
+# $Id: rc,v 1.101 1996/10/08 20:02:57 peter Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -207,12 +207,16 @@ if [ -x /usr/sbin/portmap ]; then
fi
# Start ypserv if we're an NIS server.
-# Run yppasswdd only on the NIS master server
+# Run rpc.ypxfrd and rpc.yppasswdd only on the NIS master server.
if [ "X${nis_serverflags}" != X"NO" ]; then
echo -n ' ypserv'; ypserv ${nis_serverflags}
+ if [ "X${ypxfrdflags}" != X"NO" ]; then
+ echo -n ' rpc.ypxfrd'; rpc.ypxfrd ${ypxfrdflags}
+ fi
+
if [ "X${yppasswddflags}" != X"NO" ]; then
- echo -n ' yppasswdd'; rpc.yppasswdd ${yppasswddflags}
+ echo -n ' rpc.yppasswdd'; rpc.yppasswdd ${yppasswddflags}
fi
fi
diff --git a/etc/sysconfig b/etc/sysconfig
index 7c34337..f1d988a 100644
--- a/etc/sysconfig
+++ b/etc/sysconfig
@@ -4,7 +4,7 @@
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
-# $Id: sysconfig,v 1.49 1996/09/07 19:11:00 ache Exp $
+# $Id: sysconfig,v 1.50 1996/09/09 00:17:14 ache Exp $
######################### Start Of Local Configuration Section ###########
@@ -190,7 +190,12 @@ nis_ypsetflags="NO"
# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"
-# Set to appropriate flags for rpc.yppasswdd, if you wish to run it.
+# Set to appropriate flags for rpc.ypxfrd. This should only be
+# run on NIS master servers.
+ypxfrdflags="NO"
+
+# Set to appropriate flags for rpc.yppasswdd. This should only be
+# run on NIS master servers.
# Typical flags might be "-t /var/yp/master.passwd -s -f"
yppasswddflags="NO"
OpenPOWER on IntegriCloud