timedated: support --enable-split-usr
authorDave Reisner <dreisner@archlinux.org>
Wed, 30 Oct 2013 15:06:43 +0000 (11:06 -0400)
committerDave Reisner <dreisner@archlinux.org>
Wed, 30 Oct 2013 15:06:43 +0000 (11:06 -0400)
src/timedate/timedated.c

index 3d450ca3fabdc8dbe3a62bcd5f0c544d72fe75c2..9858f5694c79a329c9a921daceebd7d88f710744 100644 (file)
@@ -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;