summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-16 13:21:07 +0200
commit2e78fa79bbaebb358d2657c397180d2d08d69b12 (patch)
tree4c128734dff3fc78c49c1240c432f55cb62fc203 /tmpfiles.d
parent45c196a76b2d883552c90807386d9bed40da822b (diff)
tmpfiles: add new "L+" command as stronger version of "L", that removes the destination before creating a symlink
Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n".
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/etc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf
index 1294c9408b..e809dff2aa 100644
--- a/tmpfiles.d/etc.conf
+++ b/tmpfiles.d/etc.conf
@@ -9,5 +9,5 @@
L /etc/os-release - - - - ../usr/lib/os-release
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
-L /etc/mtab - - - - ../proc/self/mounts
+L+ /etc/mtab - - - - ../proc/self/mounts
L /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf