From: Lennart Poettering Date: Wed, 8 Apr 2015 16:34:08 +0000 (+0200) Subject: man: avoid confusion regarding "time synchronization state" X-Git-Tag: v220~529 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b90930c73b1c82a3dc4d4f2603799993f042aaff;p=platform%2Fupstream%2Fsystemd.git man: avoid confusion regarding "time synchronization state" Also, update example in the timedatectl man page to match the actual timedatectl output. --- diff --git a/man/timedatectl.xml b/man/timedatectl.xml index 187a7ad..2d42b41 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 8416bb5..0a41f05 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",