chiark / gitweb /
units: don't initialize automount point for securityfs if the initrd already mounted...
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Sep 2011 22:45:22 +0000 (00:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Sep 2011 22:50:41 +0000 (00:50 +0200)
units/sys-kernel-security.automount

index b7b16e19aa72d93eff8589664045cc632fd38b30..b0fc4618ecc90c25abd395a9d0cd6b121d8b5096 100644 (file)
@@ -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