- Timestamp:
- 02/18/2014 04:07:01 AM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- e2c4848
- Parents:
- 58c8823
- Location:
- chapter07
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/clock.xml
r58c8823 r720f253 19 19 system clock and timezone.</para> 20 20 21 <para>Systemd provides a <command>timedatectl</command> utility which is22 used to communicate with <command>systemd-timedated</command>. It can be used23 to set the system clock in local time or UTC time, depending on the hardware24 clock setting. By default, <command>systemd-timedated</command> will assume25 that clock is set to UTC time.</para>26 27 21 <para>If you cannot remember whether or not the hardware clock is set to UTC, 28 22 find out by running the <userinput>hwclock --localtime --show</userinput> … … 36 30 time.</para> 37 31 38 <para>If your clock is set to local time, tell <command>systemd-timedated</command> 39 about it by running the following command:</para> 32 <para><command>systemd-timedated</command> reads <filename>/etc/adjtime</filename>, 33 and depending on the contents of the file, it sets the clock to either UTC or 34 local time.</para> 35 36 <para>Create the <filename>/etc/adjtime</filename> file with the following contents 37 if your hardware clock is set to local time:</para> 38 39 <screen role="nodump"><userinput>cat > /etc/adjtime << "EOF" 40 <literal>0.0 0 0.0 41 0 42 LOCAL</literal> 43 EOF</userinput></screen> 44 45 <para>If <filename>/etc/adjtime</filename> isn't present at first boot, 46 <command>systemd-timedated</command> will assume that hardware clock is 47 set to UTC and adjust the file according to that.</para> 48 49 <para>You can also use the <command>timedatectl</command> utility to tell 50 <command>systemd-timedated</command> if your hardware clock is set to 51 UTC or local time:</para> 40 52 41 53 <screen role="nodump"><userinput>timedatectl set-local-rtc 1</userinput></screen> -
chapter07/network-scripts.xml
r58c8823 r720f253 57 57 <seglistitem> 58 58 <seg>ifdown, ifup, ipv4-static</seg> 59 <seg>ifupdown@.service , nscd.service</seg>59 <seg>ifupdown@.service</seg> 60 60 <seg>/etc/sysconfig, /lib/services, /lib/lsb (symbolic link)</seg> 61 61 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.