chiark / gitweb /
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 37a2ef8c6dd792a683ae692e7ca1eda6a8df4dae..1294c9408b4125afb913ba816faa059b5321c6d4 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