Blame SOURCES/0007-Change-paths-to-conform-to-our-standards.patch

df4638
From ac65289663532db0bc1de449ca2a0eb4c8c2ca6f Mon Sep 17 00:00:00 2001
df4638
From: Pavel Zhukov <pzhukov@redhat.com>
df4638
Date: Thu, 21 Feb 2019 10:26:34 +0100
df4638
Subject: [PATCH 07/26] Change paths to conform to our standards
df4638
Cc: pzhukov@redhat.com
df4638
df4638
---
df4638
 doc/examples/dhcpd-dhcpv6.conf | 2 +-
df4638
 includes/dhcpd.h               | 6 +++---
df4638
 2 files changed, 4 insertions(+), 4 deletions(-)
df4638
df4638
diff --git a/doc/examples/dhcpd-dhcpv6.conf b/doc/examples/dhcpd-dhcpv6.conf
df4638
index 448a6a6..2357824 100644
df4638
--- a/doc/examples/dhcpd-dhcpv6.conf
df4638
+++ b/doc/examples/dhcpd-dhcpv6.conf
df4638
@@ -43,7 +43,7 @@ option dhcp6.domain-search "test.example.com","example.com";
df4638
 option dhcp6.info-refresh-time 21600;
df4638
 
df4638
 # The path of the lease file
df4638
-dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases";
df4638
+dhcpv6-lease-file-name "/var/lib/dhcpd/dhcpd6.leases";
df4638
 
df4638
 # Static definition (must be global)
df4638
 host myclient {
df4638
diff --git a/includes/dhcpd.h b/includes/dhcpd.h
df4638
index 018fa34..3632a6b 100644
df4638
--- a/includes/dhcpd.h
df4638
+++ b/includes/dhcpd.h
df4638
@@ -1545,7 +1545,7 @@ typedef unsigned char option_mask [16];
df4638
 #else /* !DEBUG */
df4638
 
df4638
 #ifndef _PATH_DHCPD_CONF
df4638
-#define _PATH_DHCPD_CONF	"/etc/dhcpd.conf"
df4638
+#define _PATH_DHCPD_CONF	"/etc/dhcp/dhcpd.conf"
df4638
 #endif /* DEBUG */
df4638
 
df4638
 #ifndef _PATH_DHCPD_DB
df4638
@@ -1567,11 +1567,11 @@ typedef unsigned char option_mask [16];
df4638
 #endif /* DEBUG */
df4638
 
df4638
 #ifndef _PATH_DHCLIENT_CONF
df4638
-#define _PATH_DHCLIENT_CONF	"/etc/dhclient.conf"
df4638
+#define _PATH_DHCLIENT_CONF	"/etc/dhcp/dhclient.conf"
df4638
 #endif
df4638
 
df4638
 #ifndef _PATH_DHCLIENT_SCRIPT
df4638
-#define _PATH_DHCLIENT_SCRIPT	"/sbin/dhclient-script"
df4638
+#define _PATH_DHCLIENT_SCRIPT	"/usr/sbin/dhclient-script"
df4638
 #endif
df4638
 
df4638
 #ifndef _PATH_DHCLIENT_PID
df4638
-- 
df4638
2.14.5
df4638