2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Sysvinit</title>
|
|
|
|
|
2002-07-03 19:32:30 +01:00
|
|
|
<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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para><screen><userinput>cp src/init.c{,.backup} &&
|
2002-07-03 19:32:30 +01:00
|
|
|
sed 's/Sending processes/Sending processes started by init/g' \
|
2002-05-02 21:15:02 +01:00
|
|
|
src/init.c.backup > src/init.c</userinput></screen></para>
|
2001-09-08 01:19:39 +01:00
|
|
|
|
|
|
|
<para>Install Sysvinit by running the following commands:</para>
|
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>make -C src &&
|
|
|
|
make -C src install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|