2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch06-sysvinit">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Sysvinit-&sysvinit-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="sysvinit.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<screen>Estimated build time: &sysvinit-time;
|
2001-08-10 21:29:04 +01:00
|
|
|
Estimated required disk space: &sysvinit-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2003-01-17 04:28:28 +00:00
|
|
|
&aa-sysvinit-shortdesc;
|
2003-11-15 11:47:56 +00:00
|
|
|
&aa-sysvinit-desc;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>Compile Sysvinit:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C src</userinput></screen>
|
|
|
|
|
|
|
|
<para>And install it:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make -C src install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2003-11-02 12:22:24 +00:00
|
|
|
&c6-cf-sysvinit;
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
2003-11-01 22:31:50 +00:00
|
|
|
|