chiark / gitweb /
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 c5f6e31..883aedc 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");