diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-03-30 04:14:46 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-03-30 04:14:46 +0000 |
commit | ca122199e6ffe303a89352b0ef52b505bfc745c4 (patch) | |
tree | 204308fc8affa62e5ed95828e88065fd11398065 /gnu/libexec/ypxfr/ypxfr.8 | |
parent | 8584f1d49486df152343e30c032f853b4b72e620 (diff) | |
download | FreeBSD-src-ca122199e6ffe303a89352b0ef52b505bfc745c4.zip FreeBSD-src-ca122199e6ffe303a89352b0ef52b505bfc745c4.tar.gz |
Fix up the way _PATH_YP is used to put together the pathname to the
NIS maps (get rid of extraneous slash a la /var/yp//domainname).
Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a
tty. This should allow logging to be done when ypxfr is called from
inside ypserv in response to a yppush request.
Update man page to reflect the change (and fix a typo).
Diffstat (limited to 'gnu/libexec/ypxfr/ypxfr.8')
-rw-r--r-- | gnu/libexec/ypxfr/ypxfr.8 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/libexec/ypxfr/ypxfr.8 b/gnu/libexec/ypxfr/ypxfr.8 index a62ad4b..1e7ae62 100644 --- a/gnu/libexec/ypxfr/ypxfr.8 +++ b/gnu/libexec/ypxfr/ypxfr.8 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: ypxfr.8,v 1.1 1995/02/06 22:15:21 wpaul Exp $ .\" .Dd February 5, 1995 .Dt YPXFR 8 @@ -114,9 +114,16 @@ when is run on the NIS master server, however it is good practice on large networks where possible outages could cause NIS servers to fall out of sync with each other. +.Pp +When +.Nm ypxfr +is invoked without a controlling terminal, e.g. from inside +.Xr ypserv 8 , +it logs all its output to +.Pa /var/yp/ypxfr.log . .Sh OPTIONS The following options are supported by -.Nm yppxfr : +.Nm ypxfr : .Bl -tag -width flag .It Fl f Force a map transfer. Normally, @@ -182,11 +189,6 @@ The NIS maps for a particular NIS domain. .Xr ypserv 8 , .Xr ypxfr 8 , .Xr yp 8 -.Sh BUGS -.Nm ypxfr -should log its output to /var/yp/ypxfr.log when it is started without -a controlling terminal. Hopefully this feature will be added in the -next release of FreeBSD. .Sh LICENSE This program is covered by the GNU Public License version 2. .Sh AUTHOR |