30 lines
858 B
Plaintext
30 lines
858 B
Plaintext
$NetBSD: patch-ac,v 1.5 2016/01/22 12:06:41 jperkin Exp $
|
|
|
|
* Honor PKG_SYSCONFDIR and PREFIX.
|
|
|
|
--- includes/dhcpd.h.orig 2015-08-26 19:13:14.000000000 +0000
|
|
+++ includes/dhcpd.h
|
|
@@ -1500,7 +1500,7 @@ typedef unsigned char option_mask [16];
|
|
#else /* !DEBUG */
|
|
|
|
#ifndef _PATH_DHCPD_CONF
|
|
-#define _PATH_DHCPD_CONF "/etc/dhcpd.conf"
|
|
+#define _PATH_DHCPD_CONF "@PKG_SYSCONFDIR@/dhcpd.conf"
|
|
#endif /* DEBUG */
|
|
|
|
#ifndef _PATH_DHCPD_DB
|
|
@@ -1522,11 +1522,11 @@ typedef unsigned char option_mask [16];
|
|
#endif /* DEBUG */
|
|
|
|
#ifndef _PATH_DHCLIENT_CONF
|
|
-#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
|
|
+#define _PATH_DHCLIENT_CONF "@PKG_SYSCONFDIR@/dhclient.conf"
|
|
#endif
|
|
|
|
#ifndef _PATH_DHCLIENT_SCRIPT
|
|
-#define _PATH_DHCLIENT_SCRIPT "/sbin/dhclient-script"
|
|
+#define _PATH_DHCLIENT_SCRIPT "@PREFIX@/sbin/dhclient-script"
|
|
#endif
|
|
|
|
#ifndef _PATH_DHCLIENT_PID
|