diff options
Diffstat (limited to 'chapter07/ethnet.xml')
-rw-r--r-- | chapter07/ethnet.xml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chapter07/ethnet.xml b/chapter07/ethnet.xml index 46644fd4a..ac1cca09d 100644 --- a/chapter07/ethnet.xml +++ b/chapter07/ethnet.xml @@ -12,7 +12,6 @@ following: </para> <literallayout> - <userinput>cat > /etc/init.d/ethnet << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/ethnet @@ -111,7 +110,6 @@ esac # End /etc/init.d/ethnet <userinput>EOF</userinput> - </literallayout> <sect2> @@ -122,11 +120,9 @@ If a default gateway is required to be setup, the following command does that: </para> <literallayout> - <userinput>cat >> /etc/sysconfig/network << "EOF"</userinput> GATEWAY=192.168.1.2 <userinput>EOF</userinput> - </literallayout> <para> @@ -150,9 +146,7 @@ First the network-scripts directory is created by running: </para> <blockquote><literallayout> - <userinput>mkdir /etc/sysconfig/network-scripts</userinput> - </literallayout></blockquote> <para> @@ -162,7 +156,6 @@ This creates a sample file ifcfg-eth0: </para> <literallayout> - <userinput>cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF</userinput> ONBOOT=yes @@ -171,7 +164,6 @@ IP=192.168.1.1 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 <userinput>EOF</userinput> - </literallayout> <para> |