Selaa lähdekoodia

Bootscripts conversion.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2377 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Timothy Bauscher 22 vuotta sitten
vanhempi
commit
c78044ef8d

+ 2 - 0
appendixa/bootscripts-dep.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>LFS-Bootscripts Installation Dependencies</title>
 

+ 4 - 8
appendixa/bootscripts-desc.xml

@@ -1,14 +1,10 @@
-<sect2><title>Contents of LFS-bootscripts</title>
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
 
-<para>Last checked against version &bootscripts-contversion;.</para>
-
-<sect3><title>Scripts</title>
+<sect2><title>Descriptions</title>
 
-<para>checkfs, cleanfs, functions, halt, ifdown, ifup, loadkeys, localnet,
-mountfs, mountproc, network, rc, reboot, sendsignals, setclock, swap,
-sysklogd and template</para></sect3>
+<para>Last checked against version &bootscripts-contversion;.</para>
 
-<sect3><title>Descriptions</title>
+<sect3><title>Program file descriptions</title>
 
 <sect4><title>checkfs</title>
 <para>The checkfs script checks the file systems just before they are

+ 18 - 0
appendixa/bootscripts-shortdesc.xml

@@ -0,0 +1,18 @@
+<sect2><title>Contents of LFS-bootscripts</title>
+
+<para>Last checked against version &bootscripts-contversion;.</para>
+
+<para>The LFS-Bootscripts package contains SysV init style shell
+scripts. These scripts do various tasks such as check filesystem
+integrity during boot, load keymaps, setup networks and halt
+processes at shutdown.</para>
+
+<para>LFS-bootscripts installs the following:</para>
+
+<sect3><title>Scripts</title>
+<para>checkfs, cleanfs, functions, halt, ifdown, ifup, loadkeys, localnet,
+mountfs, mountproc, network, rc, reboot, sendsignals, setclock, swap,
+sysklogd and template</para></sect3>
+
+</sect2>
+

+ 1 - 0
appendixa/bootscripts.xml

@@ -3,6 +3,7 @@
 <?dbhtml filename="bootscripts.html" dir="appendixa"?>
 
 &aa-bootscripts-down;
+&aa-bootscripts-shortdesc;
 &aa-bootscripts-desc;
 &aa-bootscripts-dep;
 

+ 8 - 3
chapter06/bootscripts-inst.xml

@@ -1,3 +1,5 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Installation of LFS-Bootscripts</title>
 
@@ -10,10 +12,13 @@ style init scripts, which may be found at
 <para>If you decide to use BSD style, or some other style scripts, you can
 skip Chapter 7 when you arrive at it and move on to Chapter 8.</para>
 
-<para>Install LFS-Bootscripts by running the following command:</para>
+<para>Install the boot scripts:</para>
+
+<para><screen><userinput>cp -a rc.d sysconfig /etc</userinput></screen></para>
+
+<para>Give <emphasis>root</emphasis> ownership of the scripts:</para>
 
-<para><screen><userinput>cp -a rc.d sysconfig /etc &amp;&amp;
-chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen></para>
+<para><screen><userinput>chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen></para>
 
 </sect2>
 

+ 2 - 2
chapter06/bootscripts.xml

@@ -5,9 +5,9 @@
 <screen>Estimated build time:           &bootscripts-time;
 Estimated required disk space:  &bootscripts-compsize;</screen>
 
-&c6-bootscripts-inst;
-&aa-bootscripts-desc;
+&aa-bootscripts-shortdesc;
 &aa-bootscripts-dep;
+&c6-bootscripts-inst;
 
 </sect1>
 

+ 1 - 0
entities/bootscripts.ent

@@ -7,6 +7,7 @@
 <!ENTITY aa-bootscripts-desc SYSTEM "../appendixa/bootscripts-desc.xml">
 <!ENTITY aa-bootscripts-dep SYSTEM "../appendixa/bootscripts-dep.xml">
 <!ENTITY aa-bootscripts-down SYSTEM "../appendixa/bootscripts-down.xml">
+<!ENTITY aa-bootscripts-shortdesc SYSTEM "../appendixa/bootscripts-shortdesc.xml">
 
 <!ENTITY bootscripts-version "1.10">
 <!ENTITY bootscripts-depversion "1.10">