summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-03 18:57:47 +0200
committerTom Gundersen <teg@jklm.no>2014-06-03 18:58:00 +0200
commit85b5673b337048fa881a5afb1d00d1a7b95950fb (patch)
treecad0470eb05466f590b6210a90950015a833ebbc /src/network/networkd-link.c
parente918a1b5a94f270186dca59156354acd2a596494 (diff)
networkd: split runtime config dir from state dir
Configuration will be in root:root /run/systemd/network and state will be in systemd-network:systemd-network /run/systemd/netif This matches what we do for logind's seat/session state.
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 6677b949c4..6e6fb8393e 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -75,12 +75,12 @@ static int link_new(Manager *manager, sd_rtnl_message *message, Link **ret) {
if (!link->ifname)
return -ENOMEM;
- r = asprintf(&link->state_file, "/run/systemd/network/links/%"PRIu64,
+ r = asprintf(&link->state_file, "/run/systemd/netif/links/%"PRIu64,
link->ifindex);
if (r < 0)
return -ENOMEM;
- r = asprintf(&link->lease_file, "/run/systemd/network/leases/%"PRIu64,
+ r = asprintf(&link->lease_file, "/run/systemd/netif/leases/%"PRIu64,
link->ifindex);
if (r < 0)
return -ENOMEM;