aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-11 21:00:00 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-11 21:00:00 +0000
commit56cc653631a872a0ee625748dd68d0eb26b994be (patch)
treeb02985ed89272011b837bba7d83d38fafb807eb1
parent8c136f346961589e1c899504fc9dd35aeec4db64 (diff)
updated chapter7-setclock text
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1704 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml6
-rw-r--r--chapter07/setclock.xml24
2 files changed, 16 insertions, 14 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ad41f976f..24c160328 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -30,6 +30,12 @@
</para></listitem>
+<listitem><para>March 11th, 2002 [gerard]: Chapter 07 - Setclock: The text
+here hinted towards the fact that you could skip configuring this step
+which isn't true unless the entire script would be removed. So the text was
+changed a bit to just have them create the file no matter how the hardware
+clock is setup.</para></listitem>
+
<listitem><para>March 11th, 2002 [gerard]: Chapter 07 - Loadkeys: Removed
the need to configure a <filename>/etc/sysconfig/keyboard</filename> file.
The kbd patch makes this obsolete (loadkeys -d is used
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml
index c7fd116ea..432d0790f 100644
--- a/chapter07/setclock.xml
+++ b/chapter07/setclock.xml
@@ -2,20 +2,16 @@
<title>Configuring the setclock script</title>
<?dbhtml filename="setclock.html" dir="chapter07"?>
+<para>This setclock script reads the time from your hardware clock (also
+known as BIOS or CMOS clock) and either converts that time to localtime
+using the <filename>/etc/localtime</filename> file (if the hardware clock
+is set to GMT) or not (if the hardware clock is already set to localtime).
+There is no way to auto-detect whether the hardware clock is set to GMT or
+not, so we need to configure that here ourselves.</para>
-<para>The setclock script is only for real use when the hardware clock (also
-known as BIOS or CMOS clock) isn't set to GMT time. The recommended
-setup is setting the hardware clock to GMT and having the time converted
-to localtime using the /etc/localtime symbolic link. But if an
-OS is run that doesn't understand a clock set to GMT (most notable are
-Microsoft OS'es) you may want to set the clock to localtime so that
-the time is properly displayed on those OS'es. This script will then
-set the kernel time to the hardware clock without converting the time using
-the /etc/localtime symlink.</para>
-
-<para>If you want to use this script on your system even if the
-hardware clock is set to GMT, then the UTC variable below has to be
-changed to the value of <emphasis>1</emphasis>.</para>
+<para>Change the value of the <emphasis>UTC</emphasis> variable below to a
+<emphasis>0</emphasis> (zero) if your hardware clock is not set to GMT
+time.</para>
<para>Create a new file <filename>/etc/sysconfig/clock</filename> by running
the following:</para>
@@ -23,7 +19,7 @@ the following:</para>
<para><screen><userinput>cat &gt; /etc/sysconfig/clock &lt;&lt; "EOF"</userinput>
# Begin /etc/sysconfig/clock
-UTC=0
+UTC=1
# End /etc/sysconfig/clock
<userinput>EOF</userinput></screen></para>