aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/usage.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-01-15 21:08:26 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-01-15 21:08:26 +0000
commitd535079acaeaf18d6e51a117a07a8ebdc4e14560 (patch)
treeacc6aad2523746313c8d8634b568244eeb578a55 /chapter07/usage.xml
parent1740d4852d5740f53a5b68bc16c111119728740f (diff)
removed c7-createdirs
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1439 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/usage.xml')
-rw-r--r--chapter07/usage.xml28
1 files changed, 12 insertions, 16 deletions
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