mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
Fixed some inaccuracies in dhcpcd
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7660 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
77a5859b4d
commit
f9a784ad39
@ -65,12 +65,21 @@
|
||||
<title>Installation of dhcpcd</title>
|
||||
|
||||
<para>Install <application>dhcpcd</application> by running the following
|
||||
commands as the <systemitem class="username">root</systemitem> user:</para>
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>make PREFIX= \
|
||||
LIBEXECDIR=/lib/dhcpcd \
|
||||
DBDIR=/var/lib \
|
||||
SYSCONFDIR=/etc/dhcpcd install</userinput></screen>
|
||||
LIBEXECDIR=/lib/dhcpcd \
|
||||
DBDIR=/var/lib/dhcpcd \
|
||||
SYSCONFDIR=/etc/dhcpcd</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen><userinput>make PREFIX= \
|
||||
LIBEXECDIR=/lib/dhcpcd \
|
||||
DBDIR=/var/lib/dhcpcd \
|
||||
SYSCONFDIR=/etc/dhcpcd install</userinput></screen>
|
||||
|
||||
<para>By default, a plain text lease info file isn't created but the
|
||||
<application>dhcpcd</application> provides a hook which can be used for creating
|
||||
@ -78,9 +87,8 @@
|
||||
commands as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen><userinput>sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" \
|
||||
/lib/dhcpcd/dhcpcd-hooks/50-dhcpcd-compat &&
|
||||
make LIBEXECDIR=/lib/dhcpcd \
|
||||
HOOKSCRIPTS=50-dhcpcd-compat install</userinput></screen>
|
||||
dhcpcd-hooks/50-dhcpcd-compat &&
|
||||
install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -153,10 +161,10 @@ EOF</userinput></screen>
|
||||
is to overwrite <filename>/etc/resolv.conf</filename>. All modifications on
|
||||
system configuration files like <filename>/etc/resolv.conf</filename>,
|
||||
<filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> are
|
||||
done by hooks which are stored in <filename>/lib/dhcpcd/dhcpcd-hooks</filename>.
|
||||
done by hooks which are stored in <filename class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>.
|
||||
Setup <command>dhcpcd</command> by removing or adding hooks from/to that directory.
|
||||
The execution of hooks can be disabled by using the -C command line option.
|
||||
Rewiew the <command>dhcpcd</command> man page for switches to add to the
|
||||
The execution of hooks can be disabled by using the -C command line option.</para>
|
||||
<para>Review the <command>dhcpcd</command> man page for switches to add to the
|
||||
<envar>DHCP_START</envar> value.</para>
|
||||
</note>
|
||||
|
||||
@ -187,7 +195,7 @@ EOF</userinput></screen>
|
||||
<seglistitem>
|
||||
<seg>dhcpcd</seg>
|
||||
<seg>None</seg>
|
||||
<seg>None</seg>
|
||||
<seg>/lib/dhcpcd, /etc/dhcpcd</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
@ -200,8 +208,7 @@ EOF</userinput></screen>
|
||||
<term><command>dhcpcd</command></term>
|
||||
<listitem>
|
||||
<para>is an implementation of the DHCP client specified
|
||||
in RFC2131 (when -r option is not specified) and RFC1541
|
||||
(when -r option is specified).</para>
|
||||
in RFC2131.</para>
|
||||
<indexterm zone="dhcpcd dhcpcd-prog">
|
||||
<primary sortas="b-dhcpcd">dhcpcd</primary>
|
||||
</indexterm>
|
||||
|
@ -3,7 +3,7 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "21"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "23"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "12"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2008">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
|
@ -40,6 +40,15 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>December 23th, 2008</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[thomas] - Fixed some inaccuracies in dhcpcd.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>December 21th, 2008</para>
|
||||
<itemizedlist>
|
||||
@ -48,11 +57,11 @@
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[ken] - Referenced patches for cpio, id3lib, flac, cdrdao, gamin
|
||||
to make them build again.</para>
|
||||
to make them build again.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
||||
<listitem>
|
||||
<para>December 20th, 2008</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user