]>
Commit | Line | Data |
---|---|---|
530cba5e SS |
1 | From bf4e3f1d181b5b4e6225fe5726c02420157433cc Mon Sep 17 00:00:00 2001 |
2 | From: Pavel Zhukov <pzhukov@redhat.com> | |
3 | Date: Thu, 21 Feb 2019 10:26:34 +0100 | |
4 | Subject: [PATCH 07/21] Change paths to conform to our standards | |
5 | Cc: pzhukov@redhat.com | |
6 | ||
7 | --- | |
8 | doc/examples/dhcpd-dhcpv6.conf | 2 +- | |
9 | includes/dhcpd.h | 6 +++--- | |
10 | 2 files changed, 4 insertions(+), 4 deletions(-) | |
11 | ||
12 | diff --git a/doc/examples/dhcpd-dhcpv6.conf b/doc/examples/dhcpd-dhcpv6.conf | |
13 | index 448a6a6..2357824 100644 | |
14 | --- a/doc/examples/dhcpd-dhcpv6.conf | |
15 | +++ b/doc/examples/dhcpd-dhcpv6.conf | |
16 | @@ -43,7 +43,7 @@ option dhcp6.domain-search "test.example.com","example.com"; | |
17 | option dhcp6.info-refresh-time 21600; | |
18 | ||
19 | # The path of the lease file | |
20 | -dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases"; | |
21 | +dhcpv6-lease-file-name "/var/lib/dhcpd/dhcpd6.leases"; | |
22 | ||
23 | # Static definition (must be global) | |
24 | host myclient { | |
25 | diff --git a/includes/dhcpd.h b/includes/dhcpd.h | |
26 | index 018fa34..3632a6b 100644 | |
27 | --- a/includes/dhcpd.h | |
28 | +++ b/includes/dhcpd.h | |
29 | @@ -1545,7 +1545,7 @@ typedef unsigned char option_mask [16]; | |
30 | #else /* !DEBUG */ | |
31 | ||
32 | #ifndef _PATH_DHCPD_CONF | |
33 | -#define _PATH_DHCPD_CONF "/etc/dhcpd.conf" | |
34 | +#define _PATH_DHCPD_CONF "/etc/dhcp/dhcpd.conf" | |
35 | #endif /* DEBUG */ | |
36 | ||
37 | #ifndef _PATH_DHCPD_DB | |
38 | @@ -1567,11 +1567,11 @@ typedef unsigned char option_mask [16]; | |
39 | #endif /* DEBUG */ | |
40 | ||
41 | #ifndef _PATH_DHCLIENT_CONF | |
42 | -#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf" | |
43 | +#define _PATH_DHCLIENT_CONF "/etc/dhcp/dhclient.conf" | |
44 | #endif | |
45 | ||
46 | #ifndef _PATH_DHCLIENT_SCRIPT | |
47 | -#define _PATH_DHCLIENT_SCRIPT "/sbin/dhclient-script" | |
48 | +#define _PATH_DHCLIENT_SCRIPT "/usr/sbin/dhclient-script" | |
49 | #endif | |
50 | ||
51 | #ifndef _PATH_DHCLIENT_PID | |
52 | -- | |
53 | 2.14.5 |