source: connect/dhcp/dhcpcd/dhcpcd-exp.xml@ ce2d956

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ce2d956 was ce2d956, checked in by Tushar Teredesai <tushar@…>, 18 years ago

Patches reorganization - Part IV

git-svn-id: svn:// af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.7 KB
2<title>Command explanations</title>
4<para><command>patch -Np1 -i ../dhcpcd-&dhcpcd-version;-fhs.patch
5</command>: <application>Dhcpcd</application> unpatched puts all configuration
6and temporary files in <filename>/etc/dhcpc</filename>. This becomes very
7annoying when <application>dhcpcd</application> tells you it's running and it's
8not. You look in <filename class="directory">/var/run</filename> for
9the <filename>PID</filename> file, but it's not
10there, the <filename>PID</filename> file that needs deleting is in
11<filename class="directory">/etc/dhcpc</filename>.
12This patch brings this program into <acronym>FHS</acronym> compliance, but more
13importantly, puts files where you expect them to be.</para>
15<para><parameter>--prefix=""</parameter>: There may be a good reason for
16abandoning 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
19required during the boot process and
20<filename class="directory">/usr</filename> may be network
21mounted in which case, <command>dhcpcd</command> wouldn't be available due to
22being on the network! Therefore, depending on your situation, you may want it
23to 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>
27<para><parameter>--sysconfdir=/var/lib</parameter>: This command install
28configuration files in the <filename class="directory">/var/lib</filename>
31<para><parameter>--mandir=/usr/share/man</parameter>: This command
32install the man pages to the <filename class="directory">/usr/share/man</filename>
Note: See TracBrowser for help on using the repository browser.