%general-entities; ]> Bootscripts for CLFS &bootscripts-clfs-version; Bootscripts <para>The Bootscripts package contains a set of scripts to start/stop the CLFS system at bootup/shutdown.</para> </sect2> <sect2 role="installation"> <title>Installation of Bootscripts Apply a patch which modifies the scripts for use in /tools: patch -Np1 -i ../&bootscripts-clfs-tools_updates-patch; Install the package: make DESTDIR=/tools install-bootscripts The setclock script reads the time from the hardware clock, also known as the BIOS or the Complementary Metal Oxide Semiconductor (CMOS) clock. If the hardware clock is set to UTC, this script will convert the hardware clock's time to the local time using the /tools/etc/sysconfig/clock file (which tells the hwclock program which timezone the user is in). There is no way to detect whether or not the hardware clock is set to UTC, so this needs to be configured manually. 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 hwclock --localtime --show command, and if necessary editing the /tools/etc/sysconfig/clock file. The worst that will happen if you make a wrong guess here is that the time displayed will be wrong. Change the value of the UTC variable below to a value of (zero) if the hardware clock is not set to UTC time. cat > /tools/etc/sysconfig/clock << "EOF" # Begin /tools/etc/sysconfig/clock UTC=1 # End /tools/etc/sysconfig/clock EOF <para>Details on this package are located in <xref linkend="contents-bootscripts" role="."/></para> </sect2> </sect1>