diff options
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/checkfs.xml | 2 | ||||
-rw-r--r-- | chapter07/createdirs.xml | 2 | ||||
-rw-r--r-- | chapter07/ethnet-symperm.xml | 2 | ||||
-rw-r--r-- | chapter07/ethnet.xml | 8 | ||||
-rw-r--r-- | chapter07/fstab.xml | 2 | ||||
-rw-r--r-- | chapter07/functions.xml | 2 | ||||
-rw-r--r-- | chapter07/halt.xml | 2 | ||||
-rw-r--r-- | chapter07/hosts.xml | 8 | ||||
-rw-r--r-- | chapter07/loadkeys.xml | 2 | ||||
-rw-r--r-- | chapter07/localnet-symperm.xml | 2 | ||||
-rw-r--r-- | chapter07/localnet.xml | 2 | ||||
-rw-r--r-- | chapter07/mountfs.xml | 2 | ||||
-rw-r--r-- | chapter07/network.xml | 2 | ||||
-rw-r--r-- | chapter07/rc.xml | 2 | ||||
-rw-r--r-- | chapter07/rcS.xml | 2 | ||||
-rw-r--r-- | chapter07/reboot.xml | 2 | ||||
-rw-r--r-- | chapter07/sendsignals.xml | 2 | ||||
-rw-r--r-- | chapter07/setclock.xml | 4 | ||||
-rw-r--r-- | chapter07/symperm.xml | 2 | ||||
-rw-r--r-- | chapter07/sysklogd.xml | 2 | ||||
-rw-r--r-- | chapter07/template.xml | 2 |
21 files changed, 0 insertions, 56 deletions
diff --git a/chapter07/checkfs.xml b/chapter07/checkfs.xml index 762bfacae..d19959303 100644 --- a/chapter07/checkfs.xml +++ b/chapter07/checkfs.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > checkfs << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/checkfs @@ -109,7 +108,6 @@ fi # End /etc/init.d/checkfs <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/createdirs.xml b/chapter07/createdirs.xml index 6b54ae3fe..4c12a423f 100644 --- a/chapter07/createdirs.xml +++ b/chapter07/createdirs.xml @@ -7,12 +7,10 @@ the boot scripts. These directories are created by running: </para> <blockquote><literallayout> - <userinput>cd /etc &&</userinput> <userinput>mkdir sysconfig rc0.d rc1.d rc2.d rc3.d &&</userinput> <userinput>mkdir rc4.d rc5.d rc6.d init.d rcS.d &&</userinput> <userinput>cd init.d</userinput> - </literallayout></blockquote> </sect1> diff --git a/chapter07/ethnet-symperm.xml b/chapter07/ethnet-symperm.xml index c9df60e9b..d2bda8582 100644 --- a/chapter07/ethnet-symperm.xml +++ b/chapter07/ethnet-symperm.xml @@ -7,7 +7,6 @@ running the following commands: </para> <blockquote><literallayout> - <userinput>cd /etc/init.d &&</userinput> <userinput>chmod 754 ethnet &&</userinput> <userinput>cd ../rc3.d &&</userinput> @@ -16,7 +15,6 @@ running the following commands: <userinput>ln -s ../init.d/ethnet S200ethnet &&</userinput> <userinput>cd ../rc5.d &&</userinput> <userinput>ln -s ../init.d/ethnet S200ethnet</userinput> - </literallayout></blockquote> </sect2> 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> diff --git a/chapter07/fstab.xml b/chapter07/fstab.xml index 63f9e305a..d896e5f77 100644 --- a/chapter07/fstab.xml +++ b/chapter07/fstab.xml @@ -9,7 +9,6 @@ following: </para> <literallayout> - <userinput>cat > /etc/fstab << "EOF"</userinput> # Begin /etc/fstab @@ -19,7 +18,6 @@ proc /proc proc defaults 0 0 # End /etc/fstab <userinput>EOF</userinput> - </literallayout> <para> diff --git a/chapter07/functions.xml b/chapter07/functions.xml index 48be12468..3845f0f1d 100644 --- a/chapter07/functions.xml +++ b/chapter07/functions.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > functions << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/functions @@ -448,7 +447,6 @@ statusproc() # End /etc/init.d/functions <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/halt.xml b/chapter07/halt.xml index 92264f5ab..f3938d17b 100644 --- a/chapter07/halt.xml +++ b/chapter07/halt.xml @@ -7,7 +7,6 @@ following: </para> <literallayout> - <userinput>cat > halt << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/halt @@ -20,7 +19,6 @@ following: # End /etc/init.d/halt <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 787ab47b2..490306a81 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -8,9 +8,7 @@ example is: </para> <blockquote><literallayout> - <my-IP> myhost.mydomain.org aliases - </literallayout></blockquote> <para> @@ -19,12 +17,10 @@ IP-address range. Valid ranges are: </para> <blockquote><literallayout> - Class Networks A 10.0.0.0 B 172.16.0.0 through 172.31.0.0 C 192.168.0.0 through 192.168.255.0 - </literallayout></blockquote> <para> @@ -44,7 +40,6 @@ If a network card is not going to be configured, a new file </para> <literallayout> - <userinput>cat > /etc/hosts << "EOF"</userinput> # Begin /etc/hosts (no network card version) @@ -52,7 +47,6 @@ If a network card is not going to be configured, a new file # End /etc/hosts (no network card version) <userinput>EOF</userinput> - </literallayout> <para> @@ -61,7 +55,6 @@ If a network card is to be configured, a new file </para> <literallayout> - <userinput>cat > /etc/hosts << "EOF"</userinput> # Begin /etc/hosts (network card version) @@ -70,7 +63,6 @@ If a network card is to be configured, a new file # End /etc/hosts (network card version) <userinput>EOF</userinput> - </literallayout> <para> diff --git a/chapter07/loadkeys.xml b/chapter07/loadkeys.xml index 7c9cad9bd..a04b5b1a8 100644 --- a/chapter07/loadkeys.xml +++ b/chapter07/loadkeys.xml @@ -9,7 +9,6 @@ created: </para> <literallayout> - <userinput>cat > loadkeys << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/loadkeys @@ -30,7 +29,6 @@ evaluate_retval # End /etc/init.d/loadkeys <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/localnet-symperm.xml b/chapter07/localnet-symperm.xml index dc71d1f3f..ee0e92140 100644 --- a/chapter07/localnet-symperm.xml +++ b/chapter07/localnet-symperm.xml @@ -7,12 +7,10 @@ running the following commands: </para> <blockquote><literallayout> - <userinput>cd /etc/init.d &&</userinput> <userinput>chmod 754 localnet &&</userinput> <userinput>cd ../rcS.d &&</userinput> <userinput>ln -s ../init.d/localnet S100localnet</userinput> - </literallayout></blockquote> </sect2> diff --git a/chapter07/localnet.xml b/chapter07/localnet.xml index 26bf21919..8ba6480d2 100644 --- a/chapter07/localnet.xml +++ b/chapter07/localnet.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > /etc/init.d/localnet << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/localnet @@ -50,7 +49,6 @@ esac # End /etc/init.d/localnet <userinput>EOF</userinput> - </literallayout> &c9-localnet-symperm; diff --git a/chapter07/mountfs.xml b/chapter07/mountfs.xml index e084b512e..242924f42 100644 --- a/chapter07/mountfs.xml +++ b/chapter07/mountfs.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > mountfs << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/mountfs @@ -103,7 +102,6 @@ esac # End /etc/init.d/mountfs <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/network.xml b/chapter07/network.xml index 64d61bd04..2ed3f702b 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -7,9 +7,7 @@ hostname is put in it by running: </para> <blockquote><literallayout> - <userinput>echo "HOSTNAME=lfs" > /etc/sysconfig/network</userinput> - </literallayout></blockquote> <para> diff --git a/chapter07/rc.xml b/chapter07/rc.xml index 7fcf4d71e..2e86e031c 100644 --- a/chapter07/rc.xml +++ b/chapter07/rc.xml @@ -7,7 +7,6 @@ A new file <filename>/etc/init.d/rc</filename> is created containing the following: </para> <literallayout> - <userinput>cat > rc << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/rc @@ -246,7 +245,6 @@ fi # End /etc/init.d/rc <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/rcS.xml b/chapter07/rcS.xml index 7eb6884ab..83b3df9c5 100644 --- a/chapter07/rcS.xml +++ b/chapter07/rcS.xml @@ -7,7 +7,6 @@ new file <filename>/etc/init.d/rcS</filename> containing the following: </para> <literallayout> - <userinput>cat > rcS << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/rcS @@ -36,7 +35,6 @@ done # End /etc/init.d/rcS <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/reboot.xml b/chapter07/reboot.xml index e57410c48..9ce1a6037 100644 --- a/chapter07/reboot.xml +++ b/chapter07/reboot.xml @@ -7,7 +7,6 @@ following: </para> <literallayout> - <userinput>cat > reboot << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/reboot @@ -23,7 +22,6 @@ echo "System reboot in progress..." # End /etc/init.d/reboot <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/sendsignals.xml b/chapter07/sendsignals.xml index 3aff74996..b2ed0c80e 100644 --- a/chapter07/sendsignals.xml +++ b/chapter07/sendsignals.xml @@ -7,7 +7,6 @@ containing the following: </para> <literallayout> - <userinput>cat > sendsignals << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/sendsignals @@ -37,7 +36,6 @@ evaluate_retval # End /etc/init.d/sendsignals <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml index 11809c770..994626de6 100644 --- a/chapter07/setclock.xml +++ b/chapter07/setclock.xml @@ -21,7 +21,6 @@ value of <emphasis>1</emphasis>. </para> <literallayout> - <userinput>cat > setclock << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/setclock @@ -59,7 +58,6 @@ evaluate_retval # End /etc/init.d/setclock <userinput>EOF</userinput> - </literallayout> <sect2> @@ -71,7 +69,6 @@ the following: </para> <literallayout> - <userinput>cat > /etc/sysconfig/clock << "EOF"</userinput> # Begin /etc/sysconfig/clock @@ -79,7 +76,6 @@ UTC=1 # End /etc/sysconfig/clock <userinput>EOF</userinput> - </literallayout> <para> diff --git a/chapter07/symperm.xml b/chapter07/symperm.xml index f8195aea7..d650737ae 100644 --- a/chapter07/symperm.xml +++ b/chapter07/symperm.xml @@ -9,7 +9,6 @@ below. </para> <blockquote><literallayout> - <userinput>cd /etc/init.d &&</userinput> <userinput>chmod 754 rc rcS functions checkfs halt loadkeys mountfs reboot &&</userinput> @@ -42,7 +41,6 @@ below. <userinput>ln -s ../init.d/sysklogd S100sysklogd &&</userinput> <userinput>cd ../rc5.d &&</userinput> <userinput>ln -s ../init.d/sysklogd S100sysklogd</userinput> - </literallayout></blockquote> </sect1> diff --git a/chapter07/sysklogd.xml b/chapter07/sysklogd.xml index bad6e6450..e6a188af0 100644 --- a/chapter07/sysklogd.xml +++ b/chapter07/sysklogd.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > sysklogd << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/sysklogd @@ -60,7 +59,6 @@ esac # End /etc/init.d/sysklogd <userinput>EOF</userinput> - </literallayout> </sect1> diff --git a/chapter07/template.xml b/chapter07/template.xml index 37a1363f2..6a366b6f8 100644 --- a/chapter07/template.xml +++ b/chapter07/template.xml @@ -7,7 +7,6 @@ the following: </para> <literallayout> - <userinput>cat > template << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/ @@ -53,7 +52,6 @@ esac # End /etc/init.d/ <userinput>EOF</userinput> - </literallayout> </sect1> |