diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/sysvinit.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit.xml')
-rw-r--r-- | chapter06/sysvinit.xml | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 69826f4d5..934e5cfd5 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -7,7 +7,35 @@ Estimated required disk space: &sysvinit-compsize;</screen> &aa-sysvinit-shortdesc; &aa-sysvinit-dep; -&c6-sysvinit-inst; -&c6-cf-sysvinit; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of Sysvinit</title> + +<para>When run levels are changed (for example, when halting the system), +init sends the TERM and KILL signals to the processes which it started. +Init prints "Sending processes the TERM signal" to the screen. This seems +to imply that init is sending these signals to all the currently running +processes. To avoid this confusion, the init.c file can be modified, so +that the sentence reads "Sending processes started by init the TERM +signal".</para> + +<para>Edit the halt message:</para> + +<screen><userinput>cp src/init.c{,.backup} +sed 's/Sending processes/Sending processes started by init/g' \ + src/init.c.backup > src/init.c</userinput></screen> + +<para>Compile Sysvinit:</para> + +<screen><userinput>make -C src</userinput></screen> + +<para>And install it:</para> + +<screen><userinput>make -C src install</userinput></screen> + +</sect2> </sect1> + |