Converted sysvinit.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2380 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Timothy Bauscher 2003-01-17 04:28:28 +00:00
parent 487b8e6f35
commit 6052e11bdb
7 changed files with 38 additions and 16 deletions

View File

@ -1,3 +1,5 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Sysvinit Installation Dependencies</title>

View File

@ -1,14 +1,10 @@
<sect2><title>Contents of Sysvinit</title>
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2><title>Descriptions</title>
<para>Last checked against version &sysvinit-contversion;.</para>
<sect3><title>Program Files</title>
<para>halt, init, killall5, last, lastb (link to last), mesg, pidof
(link to killall5), poweroff (link to halt), reboot (link to halt),
runlevel, shutdown, sulogin, telinit (link to init), utmpdump and
wall</para></sect3>
<sect3><title>Descriptions</title>
<sect3><title>Program file descriptions</title>
<sect4><title>halt</title>
<para>halt notes, in the file /var/log/wtmp, that the system is being

View File

@ -0,0 +1,17 @@
<sect2><title>Contents of Sysvinit</title>
<para>Last checked against version &sysvinit-contversion;.</para>
<para>The Sysvinit package contains programs to control the
startup, running and shutdown of all other programs.</para>
<para>Sysvinit installs the following:</para>
<sect3><title>Program Files</title>
<para>halt, init, killall5, last, lastb (link to last), mesg, pidof
(link to killall5), poweroff (link to halt), reboot (link to halt),
runlevel, shutdown, sulogin, telinit (link to init), utmpdump and
wall</para></sect3>
</sect2>

View File

@ -3,6 +3,7 @@
<?dbhtml filename="sysvinit.html" dir="appendixa"?>
&aa-sysvinit-down;
&aa-sysvinit-shortdesc;
&aa-sysvinit-desc;
&aa-sysvinit-dep;

View File

@ -1,3 +1,5 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Sysvinit</title>
@ -6,18 +8,21 @@ 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>
that the sentence reads "Sending processes started by init the TERM signal".</para>
<para>Edit the halt message:</para>
<para><screen><userinput>cp src/init.c{,.backup} &amp;&amp;
sed 's/Sending processes/Sending processes started by init/g' \
&nbsp;&nbsp;&nbsp;&nbsp;src/init.c.backup &gt; src/init.c</userinput></screen></para>
<para>Install Sysvinit by running the following commands:</para>
<para>Compile Sysvinit:</para>
<para><screen><userinput>make -C src &amp;&amp;
make -C src install</userinput></screen></para>
<para><screen><userinput>make -C src</userinput></screen></para>
<para>Finish installing the package:</para>
<para><screen><userinput>make -C src install</userinput></screen></para>
</sect2>

View File

@ -5,8 +5,8 @@
<screen>Estimated build time: &sysvinit-time;
Estimated required disk space: &sysvinit-compsize;</screen>
&c6-sysvinit-inst;
&aa-sysvinit-desc;
&aa-sysvinit-shortdesc;
&aa-sysvinit-dep;
&c6-sysvinit-inst;
</sect1>

View File

@ -8,6 +8,7 @@
<!ENTITY aa-sysvinit-desc SYSTEM "../appendixa/sysvinit-desc.xml">
<!ENTITY aa-sysvinit-dep SYSTEM "../appendixa/sysvinit-dep.xml">
<!ENTITY aa-sysvinit-down SYSTEM "../appendixa/sysvinit-down.xml">
<!ENTITY aa-sysvinit-shortdesc SYSTEM "../appendixa/sysvinit-shortdesc.xml">
<!ENTITY sysvinit-version "2.84">
<!ENTITY sysvinit-depversion "2.84">