summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2014-08-04 22:15:52 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-14 01:49:40 +0200
commit19f8d037833f2426f0ea6b06279d669ed69fcfd1 (patch)
treebb66c486608abb2f8be5b66da2e6de0d1821fd2b /src/shared
parenteb7040ec50fbfe5aad9eaf305bd442a4a235abaa (diff)
timer: order OnCalendar units after timer-sync.target if DefaultDependencies=no
Avoids triggering timers prematurely on systems with significantly inaccurate clocks, or some embedded platforms that lack one entirely.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/special.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/special.h b/src/shared/special.h
index 2fe5db5558..b045047d36 100644
--- a/src/shared/special.h
+++ b/src/shared/special.h
@@ -57,13 +57,13 @@
#define SPECIAL_REMOTE_FS_PRE_TARGET "remote-fs-pre.target"
#define SPECIAL_SWAP_TARGET "swap.target"
#define SPECIAL_NETWORK_ONLINE_TARGET "network-online.target"
+#define SPECIAL_TIME_SYNC_TARGET "time-sync.target" /* LSB's $time */
#define SPECIAL_BASIC_TARGET "basic.target"
/* LSB compatibility */
#define SPECIAL_NETWORK_TARGET "network.target" /* LSB's $network */
#define SPECIAL_NSS_LOOKUP_TARGET "nss-lookup.target" /* LSB's $named */
#define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */
-#define SPECIAL_TIME_SYNC_TARGET "time-sync.target" /* LSB's $time */
/*
* Rules regarding adding further high level targets like the above: