summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-24 10:38:32 +0800
committerKay Sievers <kay@vrfy.org>2014-05-24 10:45:44 +0800
commit82d115d9abf5b2666e5561450fbb17c9044a0b33 (patch)
tree0e1fa22dd6f5cd9514bfbf3a541248459aa0d821 /src/shared
parent609896125cb89cac2fcd5b80b532de97d7a64c0a (diff)
timedated: refuse manual system time updates when automatic timesync is enabled
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bus-errors.h b/src/shared/bus-errors.h
index 45e129387f..48a2b4ef1b 100644
--- a/src/shared/bus-errors.h
+++ b/src/shared/bus-errors.h
@@ -56,4 +56,6 @@
#define BUS_ERROR_OPERATION_IN_PROGRESS "org.freedesktop.login1.OperationInProgress"
#define BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED "org.freedesktop.login1.SleepVerbNotSupported"
+#define BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED "org.freedesktop.timedate1.AutomaticTimeSyncEnabled"
+
#define BUS_ERROR_NO_SUCH_PROCESS "org.freedesktop.systemd1.NoSuchProcess"