|
@@ -27,23 +27,14 @@ class="directory">/etc/rc.d/rc*.d</filename>).</para>
|
|
|
<para>Which interfaces are brought up and down by the network script
|
|
|
depends on the files and directories in the <filename
|
|
|
class="directory">/etc/sysconfig/network-devices</filename> hierarchy.
|
|
|
-This directory should contain a directory for each interface to be configured,
|
|
|
+This directory should contain a sub-directory for each interface to be configured,
|
|
|
such as <filename>ifconfig.xyz</filename>, where <quote>xyz</quote> is a
|
|
|
network interface name. Inside this directory would be files defining
|
|
|
the attributes to this interface, such as its IP address(es), subnet
|
|
|
masks, and so forth.</para>
|
|
|
-<!-- -->
|
|
|
-
|
|
|
-<para>If the <filename
|
|
|
-class="directory">/etc/sysconfig/network-devices</filename> directory
|
|
|
-is to be renamed or moved, make sure to edit the
|
|
|
-<filename>/etc/sysconfig/rc</filename> file and update the
|
|
|
-<quote>network_devices</quote> option by providing it with the new
|
|
|
-path.</para>
|
|
|
-
|
|
|
-<para>New files are created in this directory. The following
|
|
|
-command creates a sample <filename>ipv4</filename> file for the
|
|
|
-<emphasis>eth0</emphasis> device:</para>
|
|
|
+
|
|
|
+<para>The following command creates a sample <filename>ipv4</filename> file for
|
|
|
+the <emphasis>eth0</emphasis> device:</para>
|
|
|
|
|
|
<screen><userinput>cd /etc/sysconfig/network-devices &&
|
|
|
mkdir ifconfig.eth0 &&
|