2002-07-08 04:28:42 +08:00
<sect2 >
<title > Command explanations</title>
2002-08-18 10:38:12 +08:00
<para > <userinput > patch -Np1 -i ../dhcpcd-&dhcpcd-version; .patch
2003-04-10 06:30:49 +08:00
</userinput> : Dhcpcd unpatched puts all configuration and temporary
2002-08-18 10:38:12 +08:00
files in <filename > /etc/dhcpc</filename> . This becomes very annoying
when dhcpcd tells you it's running and it's not. You look in
<filename > /var/run</filename> for the pid file, but it's not there, the
pid file that needs deleting is in <filename > /etc/dhcpc</filename> . This
patch brings this program into FHS compliance, but more importantly,
puts files where you expect them to be.</para>
2003-04-10 06:30:49 +08:00
<para > <userinput > --prefix=""</userinput> : There may be a good reason for
2002-08-18 10:38:12 +08:00
abandoning the normal BLFS convention of using --prefix=/usr here. If
you are installing DHCP, it is likely that it is required during the
2003-04-10 06:30:49 +08:00
boot process and <filename > /usr</filename> may be network mounted in which case, dhcpcd
2002-08-18 10:38:12 +08:00
wouldn't be available due to being on the network! Therefore, depending
on your situation, you may want it to be installed in <filename > /sbin</filename> or <filename > /usr/sbin</filename> . This command installs to <filename > /sbin</filename> .</para>
2003-04-10 06:30:49 +08:00
<para > <userinput > --sysconfdir=/var/lib</userinput> : This command install
2002-08-18 10:38:12 +08:00
configuration files in the <filename > /var/lib</filename>
directory.</para>
2003-04-10 06:30:49 +08:00
<para > <userinput > --mandir=/usr/share/man</userinput> : This command
2002-08-18 10:38:12 +08:00
install the man pages to the <filename > /usr/share/man</filename>
directory.</para>
2002-07-08 04:28:42 +08:00
</sect2>