summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/.gitignore3
-rw-r--r--tmpfiles.d/systemd.conf.m4 (renamed from tmpfiles.d/systemd.conf)2
2 files changed, 4 insertions, 1 deletions
diff --git a/tmpfiles.d/.gitignore b/tmpfiles.d/.gitignore
index eb323154ff..4f0ecaa9c3 100644
--- a/tmpfiles.d/.gitignore
+++ b/tmpfiles.d/.gitignore
@@ -1 +1,2 @@
-etc.conf
+/etc.conf
+/systemd.conf
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf.m4
index 9ca5ad2bc8..ad05f43334 100644
--- a/tmpfiles.d/systemd.conf
+++ b/tmpfiles.d/systemd.conf.m4
@@ -16,9 +16,11 @@ d /run/systemd/sessions 0755 root root -
d /run/systemd/users 0755 root root -
d /run/systemd/machines 0755 root root -
d /run/systemd/shutdown 0755 root root -
+m4_ifdef(`ENABLE_NETWORKD',
d /run/systemd/netif 0755 systemd-network systemd-network -
d /run/systemd/netif/links 0755 systemd-network systemd-network -
d /run/systemd/netif/leases 0755 systemd-network systemd-network -
+)m4_dnl
d /run/log 0755 root root -