lfs/chapter06/sysvinit-inst.xml
Timothy Bauscher 6052e11bdb Converted sysvinit.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2380 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-01-17 04:28:28 +00:00

29 lines
1.0 KiB
XML

<sect2><title>&nbsp;</title><para>&nbsp;</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>
<para><screen><userinput>cp src/init.c{,.backup} &amp;&amp;
sed 's/Sending processes/Sending processes started by init/g' \
&nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen></para>
<para>Compile Sysvinit:</para>
<para><screen><userinput>make -C src</userinput></screen></para>
<para>Finish installing the package:</para>
<para><screen><userinput>make -C src install</userinput></screen></para>
</sect2>