summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-07 16:43:37 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-07 16:43:37 +0200
commit2fc4f5bd924b9732afc70f8a6da80573f833fc9d (patch)
tree806a1714e40edcb84ea4b7cb14d9f53589513048 /src
parent57506e7d185bff2a9b26ff8c45fd8ccb3037507f (diff)
timedatectl: avoid specifically referring to NTP
systemd-timesyncd not only does NTP, but also manages clock monotonicity using a flags file. In future, it might learn PTP support. Hence don't expose its enablement state as "NTP" but use the more generic term "network time synchronization". After all, for similar reasons systemd-timesyncd is not called systemd-ntpd.
Diffstat (limited to 'src')
-rw-r--r--src/timedate/timedatectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index 89913cc4ed..58a92d3158 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"
- " NTP enabled: %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",
@@ -331,7 +331,7 @@ static void help(void) {
" set-timezone ZONE Set system time zone\n"
" list-timezones Show known time zones\n"
" set-local-rtc BOOL Control whether RTC is in local time\n"
- " set-ntp BOOL Control whether NTP is enabled\n",
+ " set-ntp BOOL Control whether network time synchronization is enabled\n",
program_invocation_short_name);
}