mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
fb53a94d74
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2430 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
30 lines
1.0 KiB
XML
30 lines
1.0 KiB
XML
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|