Author: pierre
Date: Sun Mar 10 01:12:26 2019
New Revision: 11556

Log:
Make variable values <replaceable> in /etc/sysconfig/ifconfig.xxx example.
+ little rewording of some comments.

Modified:
   trunk/BOOK/chapter07/network.xml

Modified: trunk/BOOK/chapter07/network.xml
==============================================================================
--- trunk/BOOK/chapter07/network.xml    Sat Mar  9 00:28:01 2019        (r11555)
+++ trunk/BOOK/chapter07/network.xml    Sun Mar 10 01:12:26 2019        (r11556)
@@ -49,17 +49,17 @@
 <!-- jhalfs relies on the values for IFACE, IP, etc. If you want to change
      them, please inform the jhalfs maintainer. -->
 <screen><userinput>cd /etc/sysconfig/
-cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
-<literal>ONBOOT=yes
-IFACE=eth0
-SERVICE=ipv4-static
-IP=192.168.1.2
-GATEWAY=192.168.1.1
-PREFIX=24
-BROADCAST=192.168.1.255</literal>
+cat &gt; ifconfig.<replaceable>eth0</replaceable> &lt;&lt; "EOF"
+<literal>ONBOOT=<replaceable>yes</replaceable>
+IFACE=<replaceable>eth0</replaceable>
+SERVICE=<replaceable>ipv4-static</replaceable>
+IP=<replaceable>192.168.1.2</replaceable>
+GATEWAY=<replaceable>192.168.1.1</replaceable>
+PREFIX=<replaceable>24</replaceable>
+BROADCAST=<replaceable>192.168.1.255</replaceable></literal>
 EOF</userinput></screen>
 
-    <para>The values of these variables must be changed in every file to match
+    <para>The values in italics must be changed in every file to match
     the proper setup.</para>
 
     <para>If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote> 
the
@@ -71,7 +71,7 @@
 
     <para>The <envar>IFACE</envar> variable defines the interface name,
     for example, eth0.  It is required for all network device configuration
-    files. </para>
+    files. The filename extension must match this value.</para>
 
     <para>The <envar>SERVICE</envar> variable defines the method used for
     obtaining the IP address. The LFS-Bootscripts package has a modular IP
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to