aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-09 22:46:27 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2004-02-09 22:46:27 +0000
commit418e6cc0ff44e3bbaf3386e20f523edc8a97bc3c (patch)
treeee14152619c83c6214ba500765ca1d8eeaa08a92 /chapter07
parent342b176cf9ee3261933eedc36e4d010fd62b36c9 (diff)
Moving installation of the bootscripts to chapter 7.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3246 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/bootscripts.xml33
-rw-r--r--chapter07/chapter07.xml24
2 files changed, 56 insertions, 1 deletions
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml
new file mode 100644
index 000000000..dc90e2e68
--- /dev/null
+++ b/chapter07/bootscripts.xml
@@ -0,0 +1,33 @@
+<sect1 id="ch-system-lfs-bootscripts" xreflabel="Bootscripts">
+<title>Installing LFS-Bootscripts-&bootscripts-version;</title>
+<?dbhtml filename="bootscripts.html" dir="chapter07"?>
+
+<para>The LFS-Bootscripts package contains a set of bootscripts.</para>
+
+<screen>&buildtime; &bootscripts-time;
+&diskspace; &bootscripts-compsize;</screen>
+
+&bootscripts-down;
+&bootscripts-dep;
+
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of LFS-Bootscripts</title>
+
+<para>Install the boot scripts simply by copying them to their
+destination:</para>
+
+<screen><userinput>cp -a rc.d sysconfig /etc</userinput></screen>
+
+<para>Make sure <emphasis>root</emphasis> is owner of the scripts:</para>
+
+<screen><userinput>chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen>
+
+</sect2>
+
+&bootscripts-shortdesc;
+&bootscripts-desc;
+
+</sect1>
+
diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml
index 7e07e8ecd..9dc8bc3ac 100644
--- a/chapter07/chapter07.xml
+++ b/chapter07/chapter07.xml
@@ -2,7 +2,29 @@
<title>Setting up system boot scripts</title>
<?dbhtml filename="chapter07.html" dir="chapter07"?>
-&c7-introduction;
+
+<sect1 id="ch-scripts-introduction">
+<title>Introduction</title>
+<?dbhtml filename="introduction.html" dir="chapter07"?>
+
+<para>In this chapter we will install the bootscripts and set them up
+properly. Most of these scripts will work without needing to modify them, but
+a few require additional configuration files, since they deal with hardware
+dependent information.</para>
+
+<para>We have chosen to use System-V style init scripts simply because they
+are widely used and we feel comfortable with them. If you would prefer to try
+something else: Marc Heerdink has written a hint about BSD style init scripts,
+to be found at <ulink url="&hints-root;bsd-init.txt"/>. And if you'd like
+something more radical, search the LFS mailing lists for "depinit".</para>
+
+<para>If you decide to use some other style of init scripts, you can skip this
+chapter and move on to <xref linkend="chapter-mixture"/>.</para>
+
+</sect1>
+
+
+&bootscripts;
&c7-usage;
&c7-setclock;
&c7-loadkeys;