diff options
-rw-r--r-- | etc/rc | 10 | ||||
-rw-r--r-- | etc/sysconfig | 9 |
2 files changed, 14 insertions, 5 deletions
@@ -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" |