philipp / rpms / dhcp

Forked from rpms/dhcp 4 years ago
Clone

Blame SOURCES/dhcp-4.2.4-paths.patch

54343e
diff -up dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf.paths dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf
54343e
--- dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf.paths  2012-08-24 21:11:21.000000000 +0200
54343e
+++ dhcp-4.2.4-P2/doc/examples/dhcpd-dhcpv6.conf        2012-10-26 18:10:08.716560729 +0200
54343e
@@ -42,7 +42,7 @@ option dhcp6.domain-search "test.example
54343e
 option dhcp6.info-refresh-time 21600;
54343e
 
54343e
 # The path of the lease file
54343e
-dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases";
54343e
+dhcpv6-lease-file-name "/var/lib/dhcpd/dhcpd6.leases";
54343e
 
54343e
 # Static definition (must be global)
54343e
 host myclient {
54343e
diff -up dhcp-4.2.4b1/includes/dhcpd.h.paths dhcp-4.2.4b1/includes/dhcpd.h
54343e
--- dhcp-4.2.4b1/includes/dhcpd.h.paths	2012-04-18 11:12:34.000000000 +0200
54343e
+++ dhcp-4.2.4b1/includes/dhcpd.h	2012-04-18 11:14:38.541272405 +0200
54343e
@@ -1420,7 +1420,7 @@ typedef unsigned char option_mask [16];
54343e
 #else /* !DEBUG */
54343e
 
54343e
 #ifndef _PATH_DHCPD_CONF
54343e
-#define _PATH_DHCPD_CONF	"/etc/dhcpd.conf"
54343e
+#define _PATH_DHCPD_CONF	"/etc/dhcp/dhcpd.conf"
54343e
 #endif /* DEBUG */
54343e
 
54343e
 #ifndef _PATH_DHCPD_DB
54343e
@@ -1442,11 +1442,11 @@ typedef unsigned char option_mask [16];
54343e
 #endif /* DEBUG */
54343e
 
54343e
 #ifndef _PATH_DHCLIENT_CONF
54343e
-#define _PATH_DHCLIENT_CONF	"/etc/dhclient.conf"
54343e
+#define _PATH_DHCLIENT_CONF	"/etc/dhcp/dhclient.conf"
54343e
 #endif
54343e
 
54343e
 #ifndef _PATH_DHCLIENT_SCRIPT
54343e
-#define _PATH_DHCLIENT_SCRIPT	"/sbin/dhclient-script"
54343e
+#define _PATH_DHCLIENT_SCRIPT	"/usr/sbin/dhclient-script"
54343e
 #endif
54343e
 
54343e
 #ifndef _PATH_DHCLIENT_PID