aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-23 12:29:29 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-23 12:29:29 +0000
commit63f6e217582aa7c11600efc6df9ebe249bc6e095 (patch)
tree53bbe08ae9a30040390b950522be3df69b65738c /chapter07
parent33f0959e2b6661e3107617762a26270e770c8dad (diff)
Change the bootsripts and udev configuration so the rtc is set by udev upon boot.
Removed aio device from udev configuration so defaults are used. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8902 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/setclock.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml
index 3166c8392..854b889c6 100644
--- a/chapter07/setclock.xml
+++ b/chapter07/setclock.xml
@@ -23,6 +23,11 @@
way to detect whether or not the hardware clock is set to UTC, so this
needs to be configured manually.</para>
+ <para>The <command>setclock</command> is run via
+ <application>udev</application> when the kernel detects the hardware
+ capability upon boot. It can also be run manually with the stop parameter to
+ store the system time to the CMOS clock.</para>
+
<para>If you cannot remember whether or not the hardware clock is set to UTC,
find out by running the <userinput>hwclock --localtime --show</userinput>
command. This will display what the current time is according to the hardware
@@ -46,6 +51,10 @@
UTC=1
+# Set this to any options you might need to give to hwclock,
+# such as machine hardware clock type for Alphas.
+CLOCKPARAMS=
+
# End /etc/sysconfig/clock</literal>
EOF</userinput></screen>