aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/chapter07.xml2
-rw-r--r--chapter07/createdirs.xml13
-rw-r--r--chapter07/introduction.xml15
-rw-r--r--chapter07/usage.xml28
4 files changed, 17 insertions, 41 deletions
diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml
index 5b1cdb8ad..b97852d03 100644
--- a/chapter07/chapter07.xml
+++ b/chapter07/chapter07.xml
@@ -1,5 +1,5 @@
<chapter id="chapter07">
-<title>Creating system boot scripts</title>
+<title>Setting up system boot scripts</title>
<?dbhtml filename="chapter07.html" dir="chapter07"?>
&c7-introduction;
diff --git a/chapter07/createdirs.xml b/chapter07/createdirs.xml
deleted file mode 100644
index 0cca02dcc..000000000
--- a/chapter07/createdirs.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<sect1 id="ch07-createdirs">
-<title>Creating directories</title>
-<?dbhtml filename="createdirs.html" dir="chapter07"?>
-
-<para>We need to start by creating a few extra directories that are used by
-the boot scripts. These directories are created by running:</para>
-
-<para><screen><userinput>cd /etc &amp;&amp;</userinput>
-<userinput>mkdir rc{0,1,2,3,4,5,6,S}.d init.d sysconfig &amp;&amp;</userinput>
-<userinput>cd init.d</userinput></screen></para>
-
-</sect1>
-
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index daa783cff..92fd0c18b 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -2,12 +2,10 @@
<title>Introduction</title>
<?dbhtml filename="introduction.html" dir="chapter07"?>
-<para>This chapter will create the necessary scripts that are run at boot time.
-These scripts perform tasks such as remounting the root file system
-mounted read-only by the kernel into read-write mode, activating the swap
-partition(s), running a check on the root file system to make sure it's
-intact, setting up networking and starting the daemons that the
-system uses.</para>
+<para>This chapter will setup the bootscripts that you installed in chapter
+6. Most of these scripts will work without needing to modify them, but a
+few do require additional configuration files setup as they deal with
+hardware dependant information.</para>
<para>We will be using SysV style init scripts. We have chosen this style
because it is widely used and we feel comfortable with it. If you want to
@@ -16,10 +14,5 @@ at <ulink
url="&hints-root;bsd-init.txt">&hints-root;bsd-init.txt</ulink>
.</para>
-<para>If you decided to copy&amp;paste the scripts from this chapter, you
-would do best to copy&amp;paste them in small chunks, one screenfull at a
-time. Some scripts are too large to fit in the copy buffer and will be
-truncated when you paste it.</para>
-
</sect1>
diff --git a/chapter07/usage.xml b/chapter07/usage.xml
index f6894436c..4f40939d4 100644
--- a/chapter07/usage.xml
+++ b/chapter07/usage.xml
@@ -31,23 +31,19 @@ the target runlevel. For example, to reboot the computer, a user would issue
the init 6 command. The reboot command is just an alias, as is the halt
command an alias to init 0.</para>
-<para>The /etc/init.d/rcS script is run at every startup of the computer,
-before any runlevel is executed and runs the scripts listed in
-/etc/rcS.d</para>
-
-<para>There are a number of directories under /etc that look like like rc?.d
-where ? is the number of the runlevel and rcS.d which contain a number of
-symbolic links. Some begin with an K, the others begin with an S, and all
-of them have three numbers following the initial letter. The K means to
-stop (kill) a service, and the S means to start a service. The numbers
-determine the order in which the scripts are run, from 000 to 999; the
-lower the number the sooner it gets executed. When init switches to
-another runlevel, the appropriate services get killed and others get
-started.</para>
-
-<para>The real scripts are in /etc/init.d. They do all the work, and the
+<para>There are a number of directories under /etc/rc.d that look like
+like rc?.d where ? is the number of the runlevel and rcsysinit.d which
+contain a number of symbolic links. Some begin with an K, the others
+begin with an S, and all of them have three numbers following the initial
+letter. The K means to stop (kill) a service, and the S means to start a
+service. The numbers determine the order in which the scripts are run,
+from 00 to 99; the lower the number the sooner it gets executed. When init
+switches to another runlevel, the appropriate services get killed and
+others get started.</para>
+
+<para>The real scripts are in /etc/rc.d/init.d. They do all the work, and the
symlinks all point to them. Killing links and starting links point to
-the same script in /etc/init.d. That's because the scripts can be
+the same script in /etc/rc.d/init.d. That's because the scripts can be
called with different parameters like start, stop, restart, reload,
status. When a K link is encountered, the appropriate script is run with
the stop argument. When a S link is encountered, the appropriate script