Author: thomas
Date: 2008-12-23 08:20:34 -0700 (Tue, 23 Dec 2008)
New Revision: 7660
Modified:
trunk/BOOK/basicnet/connect/dhcpcd.xml
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Fixed some inaccuracies in dhcpcd
Modified: trunk/BOOK/basicnet/connect/dhcpcd.xml
===================================================================
--- trunk/BOOK/basicnet/connect/dhcpcd.xml 2008-12-21 22:44:08 UTC (rev
7659)
+++ trunk/BOOK/basicnet/connect/dhcpcd.xml 2008-12-23 15:20:34 UTC (rev
7660)
@@ -65,22 +65,30 @@
<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
such a file. Install the hook by running the following
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 @@
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 @@
<seglistitem>
<seg>dhcpcd</seg>
<seg>None</seg>
- <seg>None</seg>
+ <seg>/lib/dhcpcd, /etc/dhcpcd</seg>
</seglistitem>
</segmentedlist>
@@ -200,8 +208,7 @@
<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>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2008-12-21 22:44:08 UTC (rev 7659)
+++ trunk/BOOK/general.ent 2008-12-23 15:20:34 UTC (rev 7660)
@@ -3,7 +3,7 @@
$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;">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2008-12-21 22:44:08 UTC
(rev 7659)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2008-12-23 15:20:34 UTC
(rev 7660)
@@ -41,6 +41,15 @@
-->
<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>
<listitem>
@@ -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>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page