blob: 9d919ffebc1fc1beb29fc797ba1b4dce88eef7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<sect1 id="ch-system-sysvinit" xreflabel="Sysvinit">
<title>Installing Sysvinit-&sysvinit-version;</title>
<?dbhtml filename="sysvinit.html" dir="chapter06"?>
<para>The Sysvinit package contains programs for controlling the startup,
running, and shutdown of your system.</para>
<screen>&buildtime; &sysvinit-time;
&diskspace; &sysvinit-compsize;</screen>
&aa-sysvinit-down;
&aa-sysvinit-dep;
<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/& 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>
&c6-cf-sysvinit;
&aa-sysvinit-shortdesc;
&aa-sysvinit-desc;
</sect1>
|