diff options
author | Tom Gundersen <teg@jklm.no> | 2013-10-28 20:11:10 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-10-29 14:17:57 +0100 |
commit | 9dc670ea766c711741f462b29572f2e5f8f3f6bc (patch) | |
tree | ac963bddc915c6bde62624e145e60fae9cff6430 | |
parent | f11880744c27209a42f502c690db86b38d2db14b (diff) |
network: move configuration to /etc/systemd/network
This is private configuraiton, so let's not pollute the namespace (and hence make Debian happy :) ).
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | network/99-default.link (renamed from links/99-default.link) | 0 | ||||
-rw-r--r-- | src/udev/net/link-config.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am index bb182173f7..bf5459a7b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,7 +83,7 @@ userunitdir=$(prefix)/lib/systemd/user userpresetdir=$(prefix)/lib/systemd/user-preset tmpfilesdir=$(prefix)/lib/tmpfiles.d sysctldir=$(prefix)/lib/sysctl.d -linksdir=$(prefix)/lib/net/links +networkdir=$(prefix)/lib/systemd/network pkgincludedir=$(includedir)/systemd systemgeneratordir=$(rootlibexecdir)/system-generators usergeneratordir=$(prefix)/lib/systemd/user-generators @@ -2214,8 +2214,8 @@ INSTALL_DIRS += \ $(sysconfdir)/udev/rules.d \ $(sysconfdir)/udev/hwdb.d -dist_links_DATA = \ - links/99-default.link +dist_network_DATA = \ + network/99-default.link dist_udevrules_DATA += \ rules/99-systemd.rules \ @@ -4492,8 +4492,8 @@ endif INSTALL_DIRS += \ $(prefix)/lib/modules-load.d \ $(sysconfdir)/modules-load.d \ - $(prefix)/lib/net/links \ - $(sysconfdir)/net/links \ + $(prefix)/lib/systemd/network \ + $(sysconfdir)/systemd/network \ $(prefix)/lib/sysctl.d \ $(sysconfdir)/sysctl.d \ $(prefix)/lib/kernel/install.d \ diff --git a/links/99-default.link b/network/99-default.link index 05be03bd37..05be03bd37 100644 --- a/links/99-default.link +++ b/network/99-default.link diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 089bd76564..0a86d0eb77 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -74,9 +74,9 @@ int link_config_ctx_new(link_config_ctx **ret) { LIST_HEAD_INIT(ctx->links); - ctx->link_dirs = strv_new("/etc/net/links", - "/run/net/links", - "/usr/lib/net/links", + ctx->link_dirs = strv_new("/etc/systemd/network", + "/run/systemd/network", + "/usr/lib/systemd/network", NULL); if (!ctx->link_dirs) { log_error("failed to build link config directory array"); |