mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
change ch7 echo commands to use full path
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
1a4422699a
commit
b1772b15bf
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/checkfs</filename> script by running
|
<para>Create the <filename>/etc/init.d/checkfs</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > checkfs << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/checkfs << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/checkfs
|
# Begin /etc/init.d/checkfs
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/functions</filename> script by running
|
<para>Create the <filename>/etc/init.d/functions</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > functions << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/functions << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/functions
|
# Begin /etc/init.d/functions
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/halt</filename> script by running the
|
<para>Create the <filename>/etc/init.d/halt</filename> script by running the
|
||||||
following command:</para>
|
following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > halt << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/halt << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/halt
|
# Begin /etc/init.d/halt
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ that everyone will need this script?
|
|||||||
<para>Create the <filename>/etc/init.d/loadkeys</filename> script by
|
<para>Create the <filename>/etc/init.d/loadkeys</filename> script by
|
||||||
running the following command:</para>
|
running the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > loadkeys << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/loadkeys << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/loadkeys
|
# Begin /etc/init.d/loadkeys
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/mountfs</filename> script by running
|
<para>Create the <filename>/etc/init.d/mountfs</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > mountfs << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/mountfs << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/mountfs
|
# Begin /etc/init.d/mountfs
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
script. Create the <filename>/etc/init.d/rc</filename> script by running the
|
script. Create the <filename>/etc/init.d/rc</filename> script by running the
|
||||||
following command:</para>
|
following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > rc << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/rc << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/rc
|
# Begin /etc/init.d/rc
|
||||||
#
|
#
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Create the <filename>/etc/init.d/rcS</filename> script by running the following
|
Create the <filename>/etc/init.d/rcS</filename> script by running the following
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > rcS << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/rcS << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/rcS
|
# Begin /etc/init.d/rcS
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/reboot</filename> script by running the
|
<para>Create the <filename>/etc/init.d/reboot</filename> script by running the
|
||||||
following command:</para>
|
following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > reboot << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/reboot << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/reboot
|
# Begin /etc/init.d/reboot
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/sendsignals</filename> script by running
|
<para>Create the <filename>/etc/init.d/sendsignals</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > sendsignals << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/sendsignals << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/sendsignals
|
# Begin /etc/init.d/sendsignals
|
||||||
|
|
||||||
|
@ -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
|
<para>Create the <filename>/etc/init.d/setclock</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > setclock << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/setclock << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/setclock
|
# Begin /etc/init.d/setclock
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/sysklogd</filename> script by running
|
<para>Create the <filename>/etc/init.d/sysklogd</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > sysklogd << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/sysklogd << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/sysklogd
|
# Begin /etc/init.d/sysklogd
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Create the <filename>/etc/init.d/template</filename> script by running
|
<para>Create the <filename>/etc/init.d/template</filename> script by running
|
||||||
the following command:</para>
|
the following command:</para>
|
||||||
|
|
||||||
<para><screen><userinput>cat > template << "EOF"</userinput>
|
<para><screen><userinput>cat > /etc/init.d/template << "EOF"</userinput>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Begin /etc/init.d/
|
# Begin /etc/init.d/
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<!ENTITY book SYSTEM "book/book.xml">
|
<!ENTITY book SYSTEM "book/book.xml">
|
||||||
|
|
||||||
<!ENTITY version "20010808">
|
<!ENTITY version "20010809">
|
||||||
<!ENTITY releasedate "August 8th, 2001">
|
<!ENTITY releasedate "August 9th, 2001">
|
||||||
|
|
||||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||||
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
<!ENTITY http-root "http://ftp.linuxfromscratch.org">
|
||||||
|
Loading…
Reference in New Issue
Block a user