tmpfiles: create /etc/resolv.conf as link to networkd's version, if it doesn't exist
authorLennart Poettering <lennart@poettering.net>
Sun, 15 Jun 2014 21:39:00 +0000 (23:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 15 Jun 2014 21:39:49 +0000 (23:39 +0200)
If /etc/resolv.conf doesn't exist it's better than nothing to make it
point to networkd's version.

tmpfiles.d/etc.conf

index 37a2ef8..1294c94 100644 (file)
@@ -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