aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysvinit-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-02-15 15:26:52 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-02-15 15:26:52 +0000
commitb08f4096533577934b885fa9df41d3881d141612 (patch)
tree8e5ffc0ba65ac34d97cd6a896d33b85a897a6da8 /chapter06/sysvinit-inst.xml
parentad08014624938a3a3bfd1b44e8b27d02c7b06dd8 (diff)
Initial XML commit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit-inst.xml')
-rw-r--r--chapter06/sysvinit-inst.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml
new file mode 100644
index 000000000..c8c581e95
--- /dev/null
+++ b/chapter06/sysvinit-inst.xml
@@ -0,0 +1,37 @@
+<sect2>
+<title>Installation of Sysvinit</title>
+
+<para>
+When you change run levels (for example when you are going to shutdown
+your system) the init program is going to send the TERM and KILL signals
+to all the processes that init started. But init prints a message to the
+screen saying "sending all processes the TERM signal" and the same for the
+KILL signal. This implies that init sends this signal to all the currently
+running processes, which isn't the case. To avoid this confusion you can
+apply the sysvinit patch found on the LFS FTP site to sysvinit that changes
+the sentence in the shutdown.c file and have it print "sending all
+processes started by init the TERM signal".
+</para>
+
+<para>
+Apply the patch by running the following command:
+</para>
+
+<blockquote><literallayout>
+ <userinput>patch -Np1 -i ../sysvinit-2.78.patch</userinput>
+</literallayout></blockquote>
+
+<para>
+Install Sysvinit by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>cd src &amp;&amp;</userinput>
+ <userinput>make &amp;&amp;</userinput>
+ <userinput>make install</userinput>
+
+</literallayout></blockquote>
+
+</sect2>
+