link-config: support --enable-split-usr
authorDave Reisner <dreisner@archlinux.org>
Wed, 30 Oct 2013 15:00:46 +0000 (11:00 -0400)
committerDave Reisner <dreisner@archlinux.org>
Wed, 30 Oct 2013 15:00:46 +0000 (11:00 -0400)
src/udev/net/link-config.c

index c5f6e314b956ffb8023f7238aab95f8ce0257302..883aedc73ca456f24286a2465609053b4b628fb9 100644 (file)
@@ -74,6 +74,9 @@ int link_config_ctx_new(link_config_ctx **ret) {
         ctx->link_dirs = strv_new("/etc/systemd/network",
                                   "/run/systemd/network",
                                   "/usr/lib/systemd/network",
+#ifdef HAVE_SPLIT_USR
+                                  "/lib/systemd/network",
+#endif
                                   NULL);
         if (!ctx->link_dirs) {
                 log_error("failed to build link config directory array");