30 lines
861 B
Plaintext
30 lines
861 B
Plaintext
$NetBSD: patch-ac,v 1.3 2014/02/09 04:34:31 taca Exp $
|
|
|
|
* Honor PKG_SYSCONFDIR and PREFIX.
|
|
|
|
--- includes/dhcpd.h.orig 2014-01-31 19:20:49.000000000 +0000
|
|
+++ includes/dhcpd.h
|
|
@@ -1419,7 +1419,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
|
|
@@ -1441,11 +1441,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
|