diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-08 18:34:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-08 18:34:08 +0200 |
commit | b90930c73b1c82a3dc4d4f2603799993f042aaff (patch) | |
tree | 29eb1764fb92bde8a58984062da40895921b50df | |
parent | a4921cf4e2acde70eeaa0da8f040da6a058206b4 (diff) |
man: avoid confusion regarding "time synchronization state"
Also, update example in the timedatectl man page to match the actual
timedatectl output.
-rw-r--r-- | man/timedatectl.xml | 18 | ||||
-rw-r--r-- | src/timedate/timedatectl.c | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/man/timedatectl.xml b/man/timedatectl.xml index 187a7ad26a..2d42b41d5e 100644 --- a/man/timedatectl.xml +++ b/man/timedatectl.xml @@ -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. diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 8416bb5607..0a41f05736 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -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", |