Update manpage to refer to diskcheckd.conf in new location
Make Makefile patch manpage to comply with prefix
This commit is contained in:
parent
5369e8de81
commit
e1a24b66ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47056
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user