summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch b/meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
new file mode 100644
index 0000000000..12d3c9bdbd
--- /dev/null
+++ b/meta/recipes-connectivity/dhcp/dhcp/define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch
@@ -0,0 +1,26 @@
1define macro _PATH_DHCPD_CONF and _PATH_DHCLIENT_CONF
2
3Upstream-Status: inappropriate <oe specific>
4
5Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
6---
7 includes/site.h | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
9
10diff --git a/includes/site.h b/includes/site.h
11index d87b309..17bc40d 100644
12--- a/includes/site.h
13+++ b/includes/site.h
14@@ -139,7 +139,8 @@
15 /* Define this if you want the dhcpd.conf file to go somewhere other than
16 the default location. By default, it goes in /etc/dhcpd.conf. */
17
18-/* #define _PATH_DHCPD_CONF "/etc/dhcpd.conf" */
19+#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf"
20+#define _PATH_DHCLIENT_CONF "/etc/dhcp/dhclient.conf"
21
22 /* Network API definitions. You do not need to choose one of these - if
23 you don't choose, one will be chosen for you in your system's config
24--
251.9.1
26