mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
4bc6304e66
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
24 lines
958 B
XML
24 lines
958 B
XML
<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",
|
|
by running the following commands. If you don't want to change it,
|
|
skip it.</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>Install Sysvinit by running the following commands:</para>
|
|
|
|
<para><screen><userinput>make -C src &&
|
|
make -C src install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|