]> git.pld-linux.org Git - packages/dhcpcd.git/blame - dhcpcd-paths_fixes.patch
- ??? License is (2-clause) BSD
[packages/dhcpcd.git] / dhcpcd-paths_fixes.patch
CommitLineData
ba64c437 1--- src/pathnames.h.orig 2005-11-22 19:21:57.603959728 +0100
2+++ src/pathnames.h 2005-11-22 18:16:32.263702152 +0100
3@@ -41,8 +41,8 @@
4 #define CONFIG_DIR "/var/lib/dhcpc"
5ac51b5e
PG
5 #endif
6
ba64c437 7-#define RESOLV_FILE "%s/resolv.conf"
8-#define NIS_FILE "%s/yp.conf"
9-#define NTP_FILE "%s/ntp.conf"
10+#define RESOLV_FILE "/etc/resolv.conf"
11+#define NIS_FILE "/etc/yp.conf"
12+#define NTP_FILE "/etc/ntp/ntp.conf"
13
5ac51b5e 14 #endif
ba64c437 15--- src/dhcpcd.8.orig 2005-07-25 10:28:36.000000000 +0200
16+++ src/dhcpcd.8 2005-11-22 22:47:37.828960376 +0100
17@@ -361,7 +361,7 @@
18 above.
19 .PD 1
0b9459f4 20 .TP
ba64c437 21-.BI <ConfigDir>/dhcpcd-<interface>.info
22+.BI /var/lib/dhcpc/dhcpcd-<interface>.info
23 file in which
24 .B dhcpcd
25 saves the host information. The word
26@@ -370,7 +370,7 @@
27 .I eth0
28 to which dhcpcd is attached.
0b9459f4 29 .TP
ba64c437 30-.BI /etc/dhcpc/dhcpcd.exe
31+.BI /var/lib/dhcpc/dhcpcd.exe
32 script file, which
c7a47a71 33 .B dhcpcd
ba64c437 34 will try to execute whenever it configures or brings down the interface. The
35@@ -401,7 +401,7 @@
36 .I -d
37 debug flag.
c7a47a71 38 .TP
ba64c437 39-.BI <ConfigDir>/dhcpcd-<interface>.cache
40+.BI /var/lib/dhcpc/dhcpcd-<interface>.cache
41 Cache file containing the previously assigned IP address and
42 some other things.
c7a47a71 43 The word
ba64c437 44@@ -412,38 +412,38 @@
45 .B dhcpcd
46 is attached.
47 .TP
48-.BI <etcDir>/resolv.conf
49+.BI /etc/resolv.conf
50 file created by
51 .B dhcpcd
52 when the client receives DNS and domain name options.
53 The old
54-.B <etcDir>/resolv.conf
55+.B /etc/resolv.conf
56 file is renamed to
57-.B <etcDir>/resolv.conf.sv
58+.B /etc/resolv.conf.sv
59 and will be restored back when
60 .B dhcpcd
61 exits for any reason.
62 .TP
63-.BI <etcDir>/yp.conf
64+.BI /etc/yp.conf
65 file created by
66 .B dhcpcd
67 when the client receives NIS options.
68 The old
69-.B <etcDir>/yp.conf
70+.B /etc/yp.conf
71 file is renamed to
72-.B <etcDir>/yp.conf.sv
73+.B /etc/yp.conf.sv
74 and is restored back when
75 .B dhcpcd
76 exits for any reason.
77 .TP
78-.BI <etcDir>/ntp.conf
79+.BI /etc/ntp/ntp.conf
80 file created by
81 .B dhcpcd
82 when the client receives NTP options.
83 The old
84-.B <etcDir>/ntp.conf
85+.B /etc/ntp/ntp.conf
86 file is renamed to
87-.B <etcDir>/ntp.conf.sv
88+.B /etc/ntp/ntp.conf.sv
89 and is restored back when
90 .B dhcpcd
91 exits for any reason.
This page took 0.037316 seconds and 4 git commands to generate.