[Clfs-commits] commit: r4853 - in /trunk/BOOK: final-system/common/diffutils.xml network/common/dhcp.xml
svn at cross-lfs.org
svn at cross-lfs.org
Sun Mar 15 17:55:26 PDT 2009
Author: jciccone
Date: Mon Mar 16 00:55:25 2009
New Revision: 4853
Log:
Update DHCP settings. Fix formatting in the xml.
Modified:
trunk/BOOK/final-system/common/diffutils.xml
trunk/BOOK/network/common/dhcp.xml
Modified: trunk/BOOK/final-system/common/diffutils.xml
==============================================================================
--- trunk/BOOK/final-system/common/diffutils.xml (original)
+++ trunk/BOOK/final-system/common/diffutils.xml Mon Mar 16 00:55:25 2009
@@ -38,8 +38,9 @@
<screen os="s2"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' config.h</userinput></screen>
- <para os="s3">Diffutils man-pages want to be recreated, but it requires help2man. So we update the time on the
- files to prevent them from being recreated:</para>
+ <para os="s3">Diffutils man-pages want to be recreated, but it requires
+ help2man. So we update the time on the files to prevent them from being
+ recreated:</para>
<screen os="s4"><userinput>touch man/*.1</userinput></screen>
Modified: trunk/BOOK/network/common/dhcp.xml
==============================================================================
--- trunk/BOOK/network/common/dhcp.xml (original)
+++ trunk/BOOK/network/common/dhcp.xml Mon Mar 16 00:55:25 2009
@@ -24,19 +24,18 @@
configuration file using the following commands. Adjust appropriately for
additional interfaces:</para>
-<screen><userinput><literal>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0
-cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd << "EOF"
-ONBOOT="yes"
+<screen><userinput>cd /etc/sysconfig/network-devices &&
+mkdir -v ifconfig.eth0 &&
+cat > ifconfig.eth0/dhcpcd << "EOF"
+<literal>ONBOOT="yes"
SERVICE="dhcpcd"
# Start Command for DHCPCD
-#
DHCP_START="-q"
# Stop Command for DHCPCD
-#
-DHCP_STOP="-k"
-EOF</literal>
+DHCP_STOP="-k"</literal>
+EOF
</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
More information about the Clfs-commits
mailing list