From 2e78fa79bbaebb358d2657c397180d2d08d69b12 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Jun 2014 13:21:07 +0200 Subject: 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". --- man/tmpfiles.d.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'man/tmpfiles.d.xml') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 0081a6762..2d8af981e 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -174,7 +174,16 @@ L /tmp/foobar - - - - /dev/null L - Create a symlink if it does not exist yet. + L+ + Create a + symlink if it does not exist + yet. If suffixed with + + and a + file already exists where the + symlink is to be created it + will be removed and be + replaced by the + symlink. -- cgit v1.2.3