aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2019-03-10 09:12:26 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2019-03-10 09:12:26 +0000
commitcdf7a686d7d1c69fac808a89c8120a276a174b5f (patch)
treef472fc590352071029dc5f989e21d92c1862091a /chapter07
parent81541264e937b66bdfef0f076dccc2e89c16bd0f (diff)
Make variable values <replaceable> in /etc/sysconfig/ifconfig.xxx example.
+ little rewording of some comments. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/network.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index 601c7e074..cebf4c973 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -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 @@ EOF</userinput></screen>
<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