2003-01-17 04:28:28 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Sysvinit</title>
|
|
|
|
|
2002-10-06 16:50:25 +01:00
|
|
|
<para>When run levels are changed (for example, when halting the system),
|
2002-07-03 19:32:30 +01:00
|
|
|
init sends the TERM and KILL signals to the processes which it started.
|
2003-02-05 18:49:38 +00:00
|
|
|
Init prints "Sending processes the TERM signal" to the screen. This seems
|
2002-07-03 19:32:30 +01:00
|
|
|
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
|
2003-02-05 18:49:38 +00:00
|
|
|
that the sentence reads "Sending processes started by init the TERM
|
|
|
|
signal".</para>
|
2003-01-17 04:28:28 +00:00
|
|
|
|
|
|
|
<para>Edit the halt message:</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
|
|
|
|
2003-01-17 04:28:28 +00:00
|
|
|
<para>Compile Sysvinit:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make -C src</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Finish installing the package:</para>
|
2001-09-08 01:19:39 +01:00
|
|
|
|
2003-01-17 04:28:28 +00:00
|
|
|
<para><screen><userinput>make -C src install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|