| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="ch-system-sysvinit" role="wrap">  <?dbhtml filename="sysvinit.html"?>  <sect1info condition="script">    <productname>sysvinit</productname>    <productnumber>&sysvinit-version;</productnumber>    <address>&sysvinit-url;</address>  </sect1info>  <title>Sysvinit-&sysvinit-version;</title>  <indexterm zone="ch-system-sysvinit">    <primary sortas="a-Sysvinit">Sysvinit</primary>  </indexterm>  <sect2 role="package">    <title/>    <para>The Sysvinit package contains programs for controlling the startup,    running, and shutdown of the system.</para>    <segmentedlist>      <segtitle>&buildtime;</segtitle>      <segtitle>&diskspace;</segtitle>      <seglistitem>        <seg>&sysvinit-ch6-sbu;</seg>        <seg>&sysvinit-ch6-du;</seg>      </seglistitem>    </segmentedlist>  </sect2>  <sect2 role="installation">    <title>Installation of Sysvinit</title>    <para>Since LFS uses Systemd as init system, this package    is needed for few utils that are not present in other    packages. Compile the package:</para><screen><userinput remap="make">make -C src fstab-decodemake -C src killall5make -C src last</userinput></screen>    <para>This package does not come with a test suite.</para>    <para>Install the package:</para><screen><userinput remap="install">cp -v src/{fstab-decode,killall5} /sbinln -sv ../sbin/killall5 /bin/pidofcp -v src/last /usr/binln -sv last /usr/bin/lastb</userinput></screen>    <para>Install manual pages for the installed programs:</para><screen><userinput remap="install">cp -v man/{last,lastb}.1 /usr/share/man/man1cp -v man/{fstab-decode,killall5,pidof}.8 /usr/share/man/man8</userinput></screen>  </sect2>  <sect2 id="contents-sysvinit" role="content">    <title>Contents of Sysvinit</title>    <segmentedlist>      <segtitle>Installed programs</segtitle>      <seglistitem>        <seg>fstab-decode, killall5, last,        lastb (link to last) and pidof        (link to killall5)</seg>      </seglistitem>    </segmentedlist>    <variablelist>      <bridgehead renderas="sect3">Short Descriptions</bridgehead>      <?dbfo list-presentation="list"?>      <?dbhtml list-presentation="table"?>      <varlistentry id="fstab-decode">        <term><command>fstab-decode</command></term>        <listitem>          <para>Run a command with fstab-encoded arguments</para>          <indexterm zone="ch-system-sysvinit fstab-decode">            <primary sortas="b-fstab-decode">fstab-decode</primary>          </indexterm>        </listitem>      </varlistentry>      <varlistentry id="killall5">        <term><command>killall5</command></term>        <listitem>          <para>Sends a signal to all processes, except the processes in its own          session so it will not kill the shell running the script that called          it</para>          <indexterm zone="ch-system-sysvinit killall5">            <primary sortas="b-killall5">killall5</primary>          </indexterm>        </listitem>      </varlistentry>      <varlistentry id="last">        <term><command>last</command></term>        <listitem>          <para>Shows which users last logged in (and out), searching back          through the <filename>/var/log/wtmp</filename> file; it also shows          system boots, shutdowns, and run-level changes</para>          <indexterm zone="ch-system-sysvinit last">            <primary sortas="b-last">last</primary>          </indexterm>        </listitem>      </varlistentry>      <varlistentry id="lastb">        <term><command>lastb</command></term>        <listitem>          <para>Shows the failed login attempts, as logged in          <filename>/var/log/btmp</filename></para>          <indexterm zone="ch-system-sysvinit lastb">            <primary sortas="b-lastb">lastb</primary>          </indexterm>        </listitem>      </varlistentry>      <varlistentry id="pidof">        <term><command>pidof</command></term>        <listitem>          <para>Reports the PIDs of the given programs</para>          <indexterm zone="ch-system-sysvinit pidof">            <primary sortas="b-pidof">pidof</primary>          </indexterm>        </listitem>      </varlistentry>    </variablelist>  </sect2></sect1>
 |