chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timedated: support --enable-split-usr
[elogind.git]
/
src
/
timedate
/
timedated.c
diff --git
a/src/timedate/timedated.c
b/src/timedate/timedated.c
index 3d450ca3fabdc8dbe3a62bcd5f0c544d72fe75c2..9858f5694c79a329c9a921daceebd7d88f710744 100644
(file)
--- 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",
"/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;
NULL);
if (k < 0)
return NULL;