aboutsummaryrefslogtreecommitdiff
path: root/sysutils/diskcheckd/files
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-28 16:52:45 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-28 16:52:45 +0000
commit615f64729065b403caadda13aa44645821d1ba57 (patch)
tree2e0520ad1ab6f1a7182dba6f275a310af35bf7b7 /sysutils/diskcheckd/files
parentdab5cbaf8a309581457d25b94a43e1d8bc04f050 (diff)
downloadports-615f64729065b403caadda13aa44645821d1ba57.tar.gz
ports-615f64729065b403caadda13aa44645821d1ba57.zip
Notes
Diffstat (limited to 'sysutils/diskcheckd/files')
-rw-r--r--sysutils/diskcheckd/files/Makefile2
-rw-r--r--sysutils/diskcheckd/files/diskcheckd.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/diskcheckd/files/Makefile b/sysutils/diskcheckd/files/Makefile
index 265acaa4c28e..ac43ee02e970 100644
--- a/sysutils/diskcheckd/files/Makefile
+++ b/sysutils/diskcheckd/files/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-BINDIR?= /usr/sbin
+BINDIR?= /usr/local/sbin
PROG= diskcheckd
MAN8= diskcheckd.8
diff --git a/sysutils/diskcheckd/files/diskcheckd.c b/sysutils/diskcheckd/files/diskcheckd.c
index 0b41beca526b..c3f2f8e47def 100644
--- a/sysutils/diskcheckd/files/diskcheckd.c
+++ b/sysutils/diskcheckd/files/diskcheckd.c
@@ -47,7 +47,10 @@ static const char rcsid[] =
#define DKTYPENAMES
#include <sys/disklabel.h>
-#define _PATH_CONF "/etc/diskcheckd.conf"
+#ifndef _PATH_CONF
+#define _PATH_CONF "/usr/local/etc/diskcheckd.conf"
+#endif
+
#define _PATH_SAVE _PATH_VARDB"diskcheckd.offsets"
#define READ_SIZE (64 << 10)