aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */