diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-21 19:06:57 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-21 19:06:57 +0000 |
commit | a9bc54b7ba5a4f8781f1d803517a80f8659e6b8b (patch) | |
tree | 4d591b8508c32147b1e4989fe3873f3b74d4ef0f /chapter07/ethnet.xml | |
parent | 4d4690588bc35551cecc2167671f5f263e011985 (diff) |
Renamed network-scripts into nic-config
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@700 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/ethnet.xml')
-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 |