chiark / gitweb /
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 3d450ca..9858f56 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;