philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-paths.patch

26a25c
diff -up dhcp-4.3.0a1/doc/examples/dhcpd-dhcpv6.conf.paths dhcp-4.3.0a1/doc/examples/dhcpd-dhcpv6.conf
26a25c
--- dhcp-4.3.0a1/doc/examples/dhcpd-dhcpv6.conf.paths	2013-11-07 20:15:08.000000000 +0100
26a25c
+++ dhcp-4.3.0a1/doc/examples/dhcpd-dhcpv6.conf	2013-12-19 15:34:16.262247711 +0100
26a25c
@@ -42,7 +42,7 @@ option dhcp6.domain-search "test.example
26a25c
 option dhcp6.info-refresh-time 21600;
26a25c
 
26a25c
 # The path of the lease file
26a25c
-dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases";
26a25c
+dhcpv6-lease-file-name "/var/lib/dhcpd/dhcpd6.leases";
26a25c
 
26a25c
 # Static definition (must be global)
26a25c
 host myclient {
26a25c
diff -up dhcp-4.3.0a1/includes/dhcpd.h.paths dhcp-4.3.0a1/includes/dhcpd.h
26a25c
--- dhcp-4.3.0a1/includes/dhcpd.h.paths	2013-12-19 15:34:16.253247840 +0100
26a25c
+++ dhcp-4.3.0a1/includes/dhcpd.h	2013-12-19 15:34:16.263247697 +0100
26a25c
@@ -1429,7 +1429,7 @@ typedef unsigned char option_mask [16];
26a25c
 #else /* !DEBUG */
26a25c
 
26a25c
 #ifndef _PATH_DHCPD_CONF
26a25c
-#define _PATH_DHCPD_CONF	"/etc/dhcpd.conf"
26a25c
+#define _PATH_DHCPD_CONF	"/etc/dhcp/dhcpd.conf"
26a25c
 #endif /* DEBUG */
26a25c
 
26a25c
 #ifndef _PATH_DHCPD_DB
26a25c
@@ -1451,11 +1451,11 @@ typedef unsigned char option_mask [16];
26a25c
 #endif /* DEBUG */
26a25c
 
26a25c
 #ifndef _PATH_DHCLIENT_CONF
26a25c
-#define _PATH_DHCLIENT_CONF	"/etc/dhclient.conf"
26a25c
+#define _PATH_DHCLIENT_CONF	"/etc/dhcp/dhclient.conf"
26a25c
 #endif
26a25c
 
26a25c
 #ifndef _PATH_DHCLIENT_SCRIPT
26a25c
-#define _PATH_DHCLIENT_SCRIPT	"/sbin/dhclient-script"
26a25c
+#define _PATH_DHCLIENT_SCRIPT	"/usr/sbin/dhclient-script"
26a25c
 #endif
26a25c
 
26a25c
 #ifndef _PATH_DHCLIENT_PID