<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-scripts-boot" role="wrap">
  <?dbhtml filename="bootscripts.html"?>

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

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

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../../bootscripts/common/bootscripts.xml"
  xpointer="xpointer(//*[@role='package'])"/>

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

    <para>Install the package:</para>

<screen><userinput>make ETCDIR=${CLFS}/etc minimal</userinput></screen>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../bootscripts/common/setclock.xml"
    xpointer="xpointer(//*[@os='a'])"/>

    <para>If you do not know whether or not the hardware clock is set to UTC,
    you can find out after you have booted the new machine by running the
    <userinput>hwclock --localtime  --show</userinput> command, and if
    necessary editing the <filename>/etc/sysconfig/clock</filename> script.
    The worst that will happen if you make a wrong guess here is that the
    time displayed will be wrong.</para>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../bootscripts/common/setclock.xml"
    xpointer="xpointer(//*[@os='c'])"/>

<screen><userinput>cat &gt; ${CLFS}/etc/sysconfig/clock &lt;&lt; "EOF"
<literal># Begin /etc/sysconfig/clock

UTC=1

# End /etc/sysconfig/clock</literal>
EOF</userinput></screen>

  </sect2>

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

  <para>Details on this package are located in <xref
  linkend="contents-bootscripts" role="."/></para>

  </sect2>

</sect1>
