aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-12-29 11:48:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-12-29 11:48:45 +0000
commit4cbb75f40e1c6111c93d519e37e4338432367d8e (patch)
tree425358ef227f8ed60f0bd22e4261267474365770 /sbin
parent6b27324a935dcf9c1492a32f669f25bccb1f3a5c (diff)
downloadsrc-4cbb75f40e1c6111c93d519e37e4338432367d8e.tar.gz
src-4cbb75f40e1c6111c93d519e37e4338432367d8e.zip
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
Notes
Notes: svn path=/head/; revision=21021
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dump/dump.83
-rw-r--r--sbin/dump/pathnames.h2
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 */