diff options
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/ethnet.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter07/ethnet.xml b/chapter07/ethnet.xml index 1f0e01800..7041b8e4c 100644 --- a/chapter07/ethnet.xml +++ b/chapter07/ethnet.xml @@ -37,7 +37,7 @@ case "$1" in # Obtain all the network card configuration files # - for interface in $(/bin/ls /etc/sysconfig/network-scripts/ifcfg* | \ + for interface in $(/bin/ls /etc/sysconfig/nic-config/ifcfg* | \ grep -v ifcfg-lo) do # @@ -79,7 +79,7 @@ case "$1" in # Obtain all the network card configuration files # - for interface in $(/bin/ls /etc/sysconfig/network-scripts/ifcfg* | \ + for interface in $(/bin/ls /etc/sysconfig/nic-config/ifcfg* | \ grep -v ifcfg-lo) do # @@ -144,17 +144,17 @@ be reached. <para> Which interfaces are brought up and down by the ethnet script depends on -the files in the /etc/sysconfig/network-scripts directory. This +the files in the /etc/sysconfig/nic-config directory. This directory should contain files in the form of ifcfg-x where x is an identification number (or whatever a user named it). </para> <para> -First the network-scripts directory is created by running: +First the nic-config directory is created by running: </para> <blockquote><literallayout> - <userinput>mkdir /etc/sysconfig/network-scripts</userinput> + <userinput>mkdir /etc/sysconfig/nic-config</userinput> </literallayout></blockquote> <para> @@ -164,7 +164,7 @@ This creates a sample file ifcfg-eth0: </para> <literallayout> -<userinput>cat > /etc/sysconfig/network-scripts/ifcfg-eth0 +<userinput>cat > /etc/sysconfig/nic-config/ifcfg-eth0 << EOF</userinput> ONBOOT=yes DEVICE=eth0 |