mirror of
https://github.com/systemd/systemd.git
synced 2025-02-01 09:47:35 +03:00
man: avoid confusion regarding "time synchronization state"
Also, update example in the timedatectl man page to match the actual timedatectl output.
This commit is contained in:
parent
a4921cf4e2
commit
b90930c73b
@ -105,11 +105,11 @@
|
||||
|
||||
<listitem><para>Show current settings of the system clock and
|
||||
RTC, including whether network time synchronization is
|
||||
enabled. Note that the network time synchronization state
|
||||
on. Note that whether network time synchronization is on
|
||||
simply reflects whether the
|
||||
<filename>systemd-timesyncd.service</filename> unit is
|
||||
enabled. Even if the status is shown as off with this command
|
||||
another service might still synchronize the network over the
|
||||
enabled. Even if this command shows the status as off a
|
||||
different service might still synchronize the clock with the
|
||||
network.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
@ -166,12 +166,12 @@
|
||||
<term><command>set-ntp [BOOL]</command></term>
|
||||
|
||||
<listitem><para>Takes a boolean argument. Controls whether
|
||||
network time synchronous is enabled (if available). This
|
||||
network time synchronization is enabled (if available). This
|
||||
enables or disables the
|
||||
<filename>systemd-timesyncd.service</filename> unit. Note that
|
||||
even if time synchronization is turned off with this command
|
||||
another system service might still synchronize the clock with
|
||||
the network.</para></listitem>
|
||||
even if this command turns time synchronization off a
|
||||
different system service might still synchronize the clock
|
||||
with the network.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
@ -195,12 +195,12 @@
|
||||
Universal time: Di 2015-04-07 14:26:56 UTC
|
||||
RTC time: Di 2015-04-07 14:26:56
|
||||
Time zone: Europe/Berlin (CEST, +0200)
|
||||
NTP enabled: yes
|
||||
Network time on: yes
|
||||
NTP synchronized: yes
|
||||
RTC in local TZ: no</programlisting>
|
||||
</para>
|
||||
|
||||
<para>Enable an NTP daemon:
|
||||
<para>Enable network time synchronization:
|
||||
<programlisting>$ timedatectl set-ntp true
|
||||
==== AUTHENTICATING FOR org.freedesktop.timedate1.set-ntp ===
|
||||
Authentication is required to control whether network time synchronization shall be enabled.
|
||||
|
@ -136,7 +136,7 @@ static void print_status_info(const StatusInfo *i) {
|
||||
tzset();
|
||||
|
||||
printf(" Time zone: %s (%.*s)\n"
|
||||
" Network Time on: %s\n"
|
||||
" Network time on: %s\n"
|
||||
"NTP synchronized: %s\n"
|
||||
" RTC in local TZ: %s\n",
|
||||
strna(i->timezone), (int) sizeof(a), have_time ? a : "n/a",
|
||||
|
Loading…
x
Reference in New Issue
Block a user