summaryrefslogtreecommitdiff
path: root/src/udev/net/link-config.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-10-30 11:00:46 -0400
committerDave Reisner <dreisner@archlinux.org>2013-10-30 11:00:46 -0400
commitc50e28a38ccbdd1e1d1f082dd67bb3e74be4d459 (patch)
tree17f08c75fe0437d4784a45c1626b867af64531a9 /src/udev/net/link-config.c
parent75716dd8eafafbc8605e18d605a091696502a4d0 (diff)
link-config: support --enable-split-usr
Diffstat (limited to 'src/udev/net/link-config.c')
-rw-r--r--src/udev/net/link-config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
index c5f6e314b9..883aedc73c 100644
--- a/src/udev/net/link-config.c
+++ b/src/udev/net/link-config.c
@@ -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");