| [3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
 | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 | 
|---|
 | 3 |   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 | 
|---|
 | 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
 | 5 |   %general-entities;
 | 
|---|
 | 6 | ]>
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | <sect1 id="ch-scripts-boot" role="wrap">
 | 
|---|
 | 9 |   <?dbhtml filename="bootscripts.html"?>
 | 
|---|
 | 10 | 
 | 
|---|
| [b53c442] | 11 |   <title>CLFS-Bootscripts-&clfs-bootscripts-version;</title>
 | 
|---|
| [3f8be484] | 12 | 
 | 
|---|
 | 13 |   <indexterm zone="ch-scripts-boot">
 | 
|---|
 | 14 |     <primary sortas="a-Bootscripts">Bootscripts</primary>
 | 
|---|
 | 15 |     <secondary>boot</secondary>
 | 
|---|
 | 16 |   </indexterm>
 | 
|---|
 | 17 | 
 | 
|---|
| [93adf44a] | 18 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 19 |   href="../../bootscripts/common/bootscripts.xml"
 | 
|---|
 | 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| [3f8be484] | 21 | 
 | 
|---|
 | 22 |   <sect2 role="installation">
 | 
|---|
| [b53c442] | 23 |     <title>Installation of CLFS-Bootscripts</title>
 | 
|---|
| [3f8be484] | 24 | 
 | 
|---|
 | 25 |     <para>Install the package:</para>
 | 
|---|
 | 26 | 
 | 
|---|
| [3f76cac] | 27 | <screen><userinput>make ETCDIR=${CLFS}/etc minimal</userinput></screen>
 | 
|---|
| [3f8be484] | 28 | 
 | 
|---|
 | 29 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 30 |     href="../../bootscripts/common/setclock.xml"
 | 
|---|
 | 31 |     xpointer="xpointer(//*[@os='a'])"/>
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 |     <para>If you do not know whether or not the hardware clock is set to UTC,
 | 
|---|
 | 34 |     you can find out after you have booted the new machine by running the
 | 
|---|
 | 35 |     <userinput>hwclock --localtime  --show</userinput> command, and if
 | 
|---|
 | 36 |     necessary editing the <filename>/etc/sysconfig/clock</filename> script.
 | 
|---|
 | 37 |     The worst that will happen if you make a wrong guess here is that the
 | 
|---|
 | 38 |     time displayed will be wrong.</para>
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 41 |     href="../../bootscripts/common/setclock.xml"
 | 
|---|
 | 42 |     xpointer="xpointer(//*[@os='c'])"/>
 | 
|---|
 | 43 | 
 | 
|---|
| [3f76cac] | 44 | <screen><userinput>cat > ${CLFS}/etc/sysconfig/clock << "EOF"
 | 
|---|
| [3f8be484] | 45 | <literal># Begin /etc/sysconfig/clock
 | 
|---|
 | 46 | 
 | 
|---|
 | 47 | UTC=1
 | 
|---|
 | 48 | 
 | 
|---|
 | 49 | # End /etc/sysconfig/clock</literal>
 | 
|---|
 | 50 | EOF</userinput></screen>
 | 
|---|
 | 51 | 
 | 
|---|
 | 52 |   </sect2>
 | 
|---|
 | 53 | 
 | 
|---|
 | 54 |   <sect2 role="content">
 | 
|---|
 | 55 |     <title/>
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 |   <para>Details on this package are located in <xref
 | 
|---|
 | 58 |   linkend="contents-bootscripts" role="."/></para>
 | 
|---|
 | 59 | 
 | 
|---|
 | 60 |   </sect2>
 | 
|---|
 | 61 | 
 | 
|---|
 | 62 | </sect1>
 | 
|---|