Changeset 720f253 for chapter07


Ignore:
Timestamp:
02/18/2014 04:07:01 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
e2c4848
Parents:
58c8823
Message:

Some more fixes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10479 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/clock.xml

    r58c8823 r720f253  
    1919  system clock and timezone.</para>
    2020
    21   <para>Systemd provides a <command>timedatectl</command> utility which is
    22   used to communicate with <command>systemd-timedated</command>. It can be used
    23   to set the system clock in local time or UTC time, depending on the hardware
    24   clock setting. By default, <command>systemd-timedated</command> will assume
    25   that clock is set to UTC time.</para>
    26 
    2721  <para>If you cannot remember whether or not the hardware clock is set to UTC,
    2822  find out by running the <userinput>hwclock --localtime --show</userinput>
     
    3630  time.</para>
    3731
    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 &gt; /etc/adjtime &lt;&lt; "EOF"
     40<literal>0.0 0 0.0
     410
     42LOCAL</literal>
     43EOF</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>
    4052
    4153<screen role="nodump"><userinput>timedatectl set-local-rtc 1</userinput></screen>
  • chapter07/network-scripts.xml

    r58c8823 r720f253  
    5757      <seglistitem>
    5858        <seg>ifdown, ifup, ipv4-static</seg>
    59         <seg>ifupdown@.service, nscd.service</seg>
     59        <seg>ifupdown@.service</seg>
    6060        <seg>/etc/sysconfig, /lib/services, /lib/lsb (symbolic link)</seg>
    6161      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.