summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-10-30 11:06:43 -0400
committerDave Reisner <dreisner@archlinux.org>2013-10-30 11:06:43 -0400
commit36f9f99556b2fd90705a9eda2e8f182b1e63a15e (patch)
treed876315290d4de08ad8edc51c9097784a57e329f /src/timedate
parentc50e28a38ccbdd1e1d1f082dd67bb3e74be4d459 (diff)
timedated: support --enable-split-usr
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 3d450ca3fa..9858f5694c 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -248,6 +248,9 @@ static char** get_ntp_services(void) {
"/run/systemd/ntp-units.d",
"/usr/local/lib/systemd/ntp-units.d",
"/usr/lib/systemd/ntp-units.d",
+#ifdef HAVE_SPLIT_USR
+ "/lib/systemd/ntp-units.d",
+#endif
NULL);
if (k < 0)
return NULL;