summaryrefslogtreecommitdiff
path: root/tmpfiles.d/etc.conf.m4
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-27 17:45:41 +0200
committerTom Gundersen <teg@jklm.no>2014-08-27 18:17:16 +0200
commitaeb50ff0bd4bbbca74c4695072232348351d512d (patch)
treeda9ccc62028fcaac678bb614561cf0471c92f36c /tmpfiles.d/etc.conf.m4
parent81fc054dc7c365545bca86d78bf36a12658cedb3 (diff)
tmpfiles: make resolv.conf entry conditional on resolved support
Diffstat (limited to 'tmpfiles.d/etc.conf.m4')
-rw-r--r--tmpfiles.d/etc.conf.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/tmpfiles.d/etc.conf.m4 b/tmpfiles.d/etc.conf.m4
new file mode 100644
index 0000000000..f567c8d6ea
--- /dev/null
+++ b/tmpfiles.d/etc.conf.m4
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+# See tmpfiles.d(5) for details
+
+L /etc/os-release - - - - ../usr/lib/os-release
+L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
+L+ /etc/mtab - - - - ../proc/self/mounts
+m4_ifdef(`ENABLE_RESOLVED',
+L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
+)
+C /etc/nsswitch.conf - - - -
+C /etc/pam.d - - - -