diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-10-21 20:09:30 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-10-21 20:09:30 +0000 |
commit | d7c6b63ef755212365d02ff2ce3e53b1cfe57b59 (patch) | |
tree | 80535edc3e7e18cbd03ffe34ae38a5165b50fb77 /etc/rc | |
parent | edf93e27efa054d7b3d3abf9248baef1d6c9ea2f (diff) | |
download | FreeBSD-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/rc')
-rw-r--r-- | etc/rc | 10 |
1 files changed, 7 insertions, 3 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 |