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.

(cherry picked from commit 8ebf02d6f3)
This commit is contained in:
Lennart Poettering
2014-07-19 17:24:13 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 368b458ef9
commit 8096b65166
+1
View File
@@ -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