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.
This commit is contained in:
Lennart Poettering 2014-06-30 21:44:05 +02:00
parent 908c32e0f3
commit 8ebf02d6f3
1 changed files with 1 additions and 0 deletions

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