summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 00:45:22 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 00:50:41 +0200
commitb1db68fa60d4257d5cc84b512719dd99e856d82f (patch)
tree6b80a84564818f6fcab1d6f5996afa4e2f20150e /units
parentab7f148f81723ef18402b78ea34fb5e1bbe85ff0 (diff)
units: don't initialize automount point for securityfs if the initrd already mounted the directory
Diffstat (limited to 'units')
-rw-r--r--units/sys-kernel-security.automount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount
index b7b16e19aa..b0fc4618ec 100644
--- a/units/sys-kernel-security.automount
+++ b/units/sys-kernel-security.automount
@@ -10,6 +10,7 @@ Description=Security File System Automount Point
DefaultDependencies=no
Before=sysinit.target
ConditionPathExists=/sys/kernel/security
+ConditionPathIsMountPoint=!/sys/kernel/security
[Automount]
Where=/sys/kernel/security