- Timestamp:
- Mar 9, 2014, 3:14:45 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8d741b2
- Parents:
- 32c9666
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootscripts/common/clock.xml
r32c9666 r014d534a 36 36 time.</para> 37 37 38 <para>If your clock is set to local time, tell <command>systemd-timedated</command> 39 about it by running the following command:</para> 38 <para><command>systemd-timedated</command> reads 39 <filename>/etc/adjtime</filename>, and depending on the contents of the file, 40 it sets the clock to either UTC or local time.</para> 41 42 <para>Create the <filename>/etc/adjtime</filename> file with the following 43 contents if your hardware clock is set to local time:</para> 44 45 <screen role="nodump"><userinput>cat > /etc/adjtime << "EOF" 46 <literal>0.0 0 0.0 47 0 48 LOCAL</literal> 49 EOF</userinput></screen> 50 51 <para>If <filename>/etc/adjtime</filename> isn't present at first boot, 52 <command>systemd-timedated</command> will assume that hardware clock is 53 set to UTC and adjust the file according to that.</para> 54 55 <para>If your clock is set to local time, tell 56 <command>systemd-timedated</command> about it by running the following 57 command:</para> 40 58 41 59 <screen role="nodump"><userinput>timedatectl set-local-rtc 1</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.