aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-29 05:16:22 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-29 05:16:22 +0000
commite1a24b66ad9facd1de0e1138bcda41d7f745a398 (patch)
tree837b0bc3399fc87afb73c53d36aceb947c2772cd
parent5369e8de81f829214e33c55dae68f22e8c590fc2 (diff)
downloadports-e1a24b66ad9facd1de0e1138bcda41d7f745a398.tar.gz
ports-e1a24b66ad9facd1de0e1138bcda41d7f745a398.zip
Notes
-rw-r--r--sysutils/diskcheckd/Makefile3
-rw-r--r--sysutils/diskcheckd/files/diskcheckd.86
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/diskcheckd/Makefile b/sysutils/diskcheckd/Makefile
index 59d2434986b8..493957dc5e29 100644
--- a/sysutils/diskcheckd/Makefile
+++ b/sysutils/diskcheckd/Makefile
@@ -8,7 +8,7 @@
PORTNAME= diskcheckd
PORTVERSION= 20010823
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= # part of port
DISTFILES= # part of port
@@ -41,6 +41,7 @@ do-extract:
do-patch:
@${PERL} -pi.fbsd -e 's|/usr/local/sbin|${PREFIX}/sbin|g' ${WRKSRC}/Makefile
+ @${PERL} -pi.fbsd -e 's|/usr/local/etc/diskcheckd.conf|${PREFIX}/etc/diskcheckd.conf|g' ${WRKSRC}/diskcheckd.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/diskcheckd ${PREFIX}/sbin
diff --git a/sysutils/diskcheckd/files/diskcheckd.8 b/sysutils/diskcheckd/files/diskcheckd.8
index 83d78785d3ad..6462aef84032 100644
--- a/sysutils/diskcheckd/files/diskcheckd.8
+++ b/sysutils/diskcheckd/files/diskcheckd.8
@@ -43,7 +43,7 @@ The disks which should be scanned,
and the rates at which they should be scanned,
must be specified in the configuration file,
which is
-.Pa /etc/diskcheckd.conf
+.Pa /usr/local/etc/diskcheckd.conf
by default.
.Pp
Any blank lines or lines starting with a
@@ -137,7 +137,7 @@ This flag is primarily used for debugging.
.It Fl f
Specify the configuration file to use,
instead of the default
-.Pa /etc/diskcheckd.conf .
+.Pa /usr/local/etc/diskcheckd.conf .
.It Fl o
Specify the file to save disk offsets to,
instead of the default
@@ -145,7 +145,7 @@ instead of the default
.El
.Sh FILES
.Bl -tag -width /var/db/diskcheckd.offsets -compact
-.It Pa /etc/diskcheckd.conf
+.It Pa /usr/local/etc/diskcheckd.conf
Default configuration file.
.It Pa /var/db/diskcheckd.offsets
Default location of saved offsets.