Browse Source

change ch7 echo commands to use full path

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 years ago
parent
commit
b1772b15bf

+ 1 - 1
chapter07/checkfs.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/checkfs</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; checkfs &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/checkfs &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/checkfs
 

+ 1 - 1
chapter07/functions.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/functions</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; functions &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/functions &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/functions
 

+ 1 - 1
chapter07/halt.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/halt</filename> script by running the
 following command:</para>
 
-<para><screen><userinput>cat &gt; halt &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/halt &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/halt
 

+ 1 - 1
chapter07/loadkeys.xml

@@ -12,7 +12,7 @@ that everyone will need this script?
 <para>Create the <filename>/etc/init.d/loadkeys</filename> script by 
 running the following command:</para>
 
-<para><screen><userinput>cat &gt; loadkeys &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/loadkeys &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/loadkeys
 

+ 1 - 1
chapter07/mountfs.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/mountfs</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; mountfs &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/mountfs &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/mountfs
 

+ 1 - 1
chapter07/rc.xml

@@ -5,7 +5,7 @@
 script. Create the <filename>/etc/init.d/rc</filename> script by running the
 following command:</para>
 
-<para><screen><userinput>cat &gt; rc &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/rc &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/rc
 #

+ 1 - 1
chapter07/rcS.xml

@@ -5,7 +5,7 @@
 Create the <filename>/etc/init.d/rcS</filename> script by running the following
 command:</para>
 
-<para><screen><userinput>cat &gt; rcS &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/rcS &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/rcS
 

+ 1 - 1
chapter07/reboot.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/reboot</filename> script by running the
 following command:</para>
 
-<para><screen><userinput>cat &gt; reboot &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/reboot &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/reboot
 

+ 1 - 1
chapter07/sendsignals.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/sendsignals</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; sendsignals &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/sendsignals &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/sendsignals
 

+ 1 - 1
chapter07/setclock.xml

@@ -18,7 +18,7 @@ changed to the value of <emphasis>1</emphasis>.</para>
 <para>Create the <filename>/etc/init.d/setclock</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; setclock &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/setclock &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/setclock
 

+ 1 - 1
chapter07/sysklogd.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/sysklogd</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; sysklogd &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/sysklogd &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/sysklogd
 

+ 1 - 1
chapter07/template.xml

@@ -4,7 +4,7 @@
 <para>Create the <filename>/etc/init.d/template</filename> script by running
 the following command:</para>
 
-<para><screen><userinput>cat &gt; template &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /etc/init.d/template &lt;&lt; "EOF"</userinput>
 #!/bin/sh
 # Begin /etc/init.d/
 

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20010808">
-<!ENTITY releasedate "August 8th, 2001">
+<!ENTITY version "20010809">
+<!ENTITY releasedate "August 9th, 2001">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">