Ignore:
Timestamp:
03/10/2019 09:12:26 AM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1263de2
Parents:
8154126
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/network.xml

    r8154126 rcdf7a68  
    5050     them, please inform the jhalfs maintainer. -->
    5151<screen><userinput>cd /etc/sysconfig/
    52 cat &gt; ifconfig.eth0 &lt;&lt; "EOF"
    53 <literal>ONBOOT=yes
    54 IFACE=eth0
    55 SERVICE=ipv4-static
    56 IP=192.168.1.2
    57 GATEWAY=192.168.1.1
    58 PREFIX=24
    59 BROADCAST=192.168.1.255</literal>
     52cat &gt; ifconfig.<replaceable>eth0</replaceable> &lt;&lt; "EOF"
     53<literal>ONBOOT=<replaceable>yes</replaceable>
     54IFACE=<replaceable>eth0</replaceable>
     55SERVICE=<replaceable>ipv4-static</replaceable>
     56IP=<replaceable>192.168.1.2</replaceable>
     57GATEWAY=<replaceable>192.168.1.1</replaceable>
     58PREFIX=<replaceable>24</replaceable>
     59BROADCAST=<replaceable>192.168.1.255</replaceable></literal>
    6060EOF</userinput></screen>
    6161
    62     <para>The values of these variables must be changed in every file to match
     62    <para>The values in italics must be changed in every file to match
    6363    the proper setup.</para>
    6464
     
    7272    <para>The <envar>IFACE</envar> variable defines the interface name,
    7373    for example, eth0.  It is required for all network device configuration
    74     files. </para>
     74    files. The filename extension must match this value.</para>
    7575
    7676    <para>The <envar>SERVICE</envar> variable defines the method used for
Note: See TracChangeset for help on using the changeset viewer.