summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-15 23:39:00 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-15 23:39:49 +0200
commitd4c6d50a2adfe61c21c5ac5598a301a35b10ef1c (patch)
treeef2c37c3be410e4fa441bcaefef433a9c5011721
parent3a0efd7030af9d08a791626ace940805aeafd565 (diff)
tmpfiles: create /etc/resolv.conf as link to networkd's version, if it doesn't exist
If /etc/resolv.conf doesn't exist it's better than nothing to make it point to networkd's version.
-rw-r--r--tmpfiles.d/etc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf
index 37a2ef8c6d..1294c9408b 100644
--- a/tmpfiles.d/etc.conf
+++ b/tmpfiles.d/etc.conf
@@ -10,3 +10,4 @@
L /etc/os-release - - - - ../usr/lib/os-release
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
L /etc/mtab - - - - ../proc/self/mounts
+L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf