From b90930c73b1c82a3dc4d4f2603799993f042aaff Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Apr 2015 18:34:08 +0200 Subject: man: avoid confusion regarding "time synchronization state" Also, update example in the timedatectl man page to match the actual timedatectl output. --- man/timedatectl.xml | 18 +++++++++--------- 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 @@ 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 systemd-timesyncd.service 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. @@ -166,12 +166,12 @@ set-ntp [BOOL] 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 systemd-timesyncd.service unit. Note that - even if time synchronization is turned off with this command - another system service might still synchronize the clock with - the network. + even if this command turns time synchronization off a + different system service might still synchronize the clock + with the network. @@ -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 - Enable an NTP daemon: + Enable network time synchronization: $ 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", -- cgit v1.2.3-54-g00ecf