From 4cbb75f40e1c6111c93d519e37e4338432367d8e Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 29 Dec 1996 11:48:45 +0000 Subject: [PATCH] Backing out my change of /etc/rmt -> /usr/sbin/rmt. Added comments in both files stateing why /etc/rmt is correct so someone else wont do the same thing again. Suggested by: Warner Losh & Ollivier --- sbin/dump/dump.8 | 3 ++- sbin/dump/pathnames.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8 index 7c6e5c201498..656541165671 100644 --- a/sbin/dump/dump.8 +++ b/sbin/dump/dump.8 @@ -125,7 +125,8 @@ writes to the named file on the remote host using The default path name of the remote .Xr rmt 8 program is -.Pa /usr/sbin/rmt ; +.\" rmt path, is the path on the remote host +.Pa /etc/rmt ; this can be overridden by the environment variable .Ev RMT . .It Cm d Ar density diff --git a/sbin/dump/pathnames.h b/sbin/dump/pathnames.h index 1b4ac8b437e3..65f6b1901473 100644 --- a/sbin/dump/pathnames.h +++ b/sbin/dump/pathnames.h @@ -39,4 +39,4 @@ #define _PATH_DTMP "/etc/dtmp" #define _PATH_DUMPDATES "/etc/dumpdates" #define _PATH_LOCK "/tmp/dumplockXXXXXX" -#define _PATH_RMT "/usr/sbin/rmt" +#define _PATH_RMT "/etc/rmt" /* path on remote host */