aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/ethnet.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/ethnet.xml')
-rw-r--r--chapter07/ethnet.xml8
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 &gt; /etc/init.d/ethnet &lt;&lt; "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 &gt;&gt; /etc/sysconfig/network &lt;&lt; "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 &gt; /etc/sysconfig/network-scripts/ifcfg-eth0
&lt;&lt; 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>