<?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-scripts-bootscripts" role="wrap">
  <?dbhtml filename="bootscripts.html"?>

  <title>CLFS-Bootscripts-&clfs-bootscripts-version;</title>

  <indexterm zone="ch-scripts-bootscripts">
    <primary sortas="a-Bootscripts">Bootscripts</primary>
  </indexterm>

  <sect2 role="package">
    <title/>

    <para>The CLFS-Bootscripts package contains a set of scripts to
    start/stop the CLFS system at bootup/shutdown.</para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of CLFS-Bootscripts</title>

    <important>

      <para>Unlike other chapters, after installing the bootscripts, do not 
      delete the bootscripts source directory.  The bootscripts source directory
      may be needed later.</para>

    </important>

    <para>Install the package:</para>

<screen><userinput>make DESTDIR=${CLFS}/targetfs install-bootscripts</userinput></screen>

  </sect2>

  <sect2 id="contents-bootscripts" role="content">
    <title>Contents of CLFS-Bootscripts</title>

    <segmentedlist>
      <segtitle>Installed scripts</segtitle>

      <seglistitem>
        <seg>functions, startup, shutdown, and syslog.</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="functions-bootscripts">
        <term><command>functions</command></term>
        <listitem>
          <para>Contains common functions, such as error and status checking,
          that are used by several bootscripts</para>
          <indexterm zone="ch-scripts-bootscripts functions-bootscripts">
            <primary sortas="d-functions">functions</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="startup-bootscripts">
        <term><command>startup</command></term>
        <listitem>
          <para>Performs all startup script operations</para>
          <indexterm zone="ch-scripts-bootscripts startup-bootscripts">
            <primary sortas="d-startup">startup</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="shutdown-bootscripts">
        <term><command>shutdown</command></term>
        <listitem>
          <para>Performs all shutdown operations</para>
          <indexterm zone="ch-scripts-bootscripts shutdown-bootscripts">
            <primary sortas="d-shutdown">shutdown</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="syslog-bootscripts">
        <term><command>syslog</command></term>
        <listitem>
          <para>Starts and stops the system log daemons</para>
          <indexterm zone="ch-scripts-bootscripts syslog-bootscripts">
            <primary sortas="d-syslog">syslog</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
