mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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
This commit is contained in:
parent
81541264e9
commit
cdf7a686d7
@ -49,17 +49,17 @@
|
|||||||
<!-- jhalfs relies on the values for IFACE, IP, etc. If you want to change
|
<!-- jhalfs relies on the values for IFACE, IP, etc. If you want to change
|
||||||
them, please inform the jhalfs maintainer. -->
|
them, please inform the jhalfs maintainer. -->
|
||||||
<screen><userinput>cd /etc/sysconfig/
|
<screen><userinput>cd /etc/sysconfig/
|
||||||
cat > ifconfig.eth0 << "EOF"
|
cat > ifconfig.<replaceable>eth0</replaceable> << "EOF"
|
||||||
<literal>ONBOOT=yes
|
<literal>ONBOOT=<replaceable>yes</replaceable>
|
||||||
IFACE=eth0
|
IFACE=<replaceable>eth0</replaceable>
|
||||||
SERVICE=ipv4-static
|
SERVICE=<replaceable>ipv4-static</replaceable>
|
||||||
IP=192.168.1.2
|
IP=<replaceable>192.168.1.2</replaceable>
|
||||||
GATEWAY=192.168.1.1
|
GATEWAY=<replaceable>192.168.1.1</replaceable>
|
||||||
PREFIX=24
|
PREFIX=<replaceable>24</replaceable>
|
||||||
BROADCAST=192.168.1.255</literal>
|
BROADCAST=<replaceable>192.168.1.255</replaceable></literal>
|
||||||
EOF</userinput></screen>
|
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>
|
the proper setup.</para>
|
||||||
|
|
||||||
<para>If the <envar>ONBOOT</envar> variable is set to <quote>yes</quote> the
|
<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,
|
<para>The <envar>IFACE</envar> variable defines the interface name,
|
||||||
for example, eth0. It is required for all network device configuration
|
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
|
<para>The <envar>SERVICE</envar> variable defines the method used for
|
||||||
obtaining the IP address. The LFS-Bootscripts package has a modular IP
|
obtaining the IP address. The LFS-Bootscripts package has a modular IP
|
||||||
|
Loading…
Reference in New Issue
Block a user