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

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