summaryrefslogtreecommitdiff
path: root/units/tmp.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-30 21:44:05 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-30 22:49:10 +0200
commit8ebf02d6f382ce1ac7e0d44a713b8795a07b08cd (patch)
tree53db42f891cdf234159eed54f07aee1a337d1cee /units/tmp.mount
parent908c32e0f3d05caf7a46d1b5301b781462d70d70 (diff)
units: skip mounting /tmp if it is a symlink
We shouldn't get confused if people have symlinked /tmp somewhere, so let's simply skip the mount then.
Diffstat (limited to 'units/tmp.mount')
-rw-r--r--units/tmp.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/tmp.mount b/units/tmp.mount
index 99a3ba3f6c..00a0d28722 100644
--- a/units/tmp.mount
+++ b/units/tmp.mount
@@ -9,6 +9,7 @@
Description=Temporary Directory
Documentation=man:hier(7)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target