1 | <sect2>
|
---|
2 | <title>Command explanations</title>
|
---|
3 |
|
---|
4 | <para><command>patch -Np1 -i ../dhcpcd-&dhcpcd-version;-fhs-1.patch
|
---|
5 | </command>: <application>Dhcpcd</application> unpatched puts all configuration
|
---|
6 | and temporary files in <filename>/etc/dhcpc</filename>. This becomes very
|
---|
7 | annoying when <application>dhcpcd</application> tells you it's running and it's
|
---|
8 | not. You look in <filename class="directory">/var/run</filename> for
|
---|
9 | the <filename>PID</filename> file, but it's not
|
---|
10 | there, the <filename>PID</filename> file that needs deleting is in
|
---|
11 | <filename class="directory">/etc/dhcpc</filename>.
|
---|
12 | This patch brings this program into <acronym>FHS</acronym> compliance, but more
|
---|
13 | importantly, puts files where you expect them to be.</para>
|
---|
14 |
|
---|
15 | <para><parameter>--prefix=""</parameter>: There may be a good reason for
|
---|
16 | abandoning the normal <acronym>BLFS</acronym> convention of using
|
---|
17 | <parameter>--prefix=/usr</parameter> here. If you are installing
|
---|
18 | <acronym>DHCP</acronym>, it is likely that it is
|
---|
19 | required during the boot process and
|
---|
20 | <filename class="directory">/usr</filename> may be network
|
---|
21 | mounted, in which case <command>dhcpcd</command> wouldn't be available due to
|
---|
22 | being on the network! Therefore, depending on your situation, you may want it
|
---|
23 | to be installed in <filename class="directory">/sbin</filename> or
|
---|
24 | <filename class="directory">/usr/sbin</filename>. This command installs to
|
---|
25 | <filename class="directory">/sbin</filename>.</para>
|
---|
26 |
|
---|
27 | <para><parameter>--sysconfdir=/var/lib</parameter>: This command installs
|
---|
28 | configuration files in the <filename class="directory">/var/lib</filename>
|
---|
29 | directory.</para>
|
---|
30 |
|
---|
31 | <para><parameter>--mandir=/usr/share/man</parameter>: This command
|
---|
32 | installs the man pages to the <filename class="directory">/usr/share/man</filename>
|
---|
33 | directory.</para>
|
---|
34 |
|
---|
35 | </sect2>
|
---|
36 |
|
---|