chiark / gitweb /
units: don't initialize automount point for securityfs if the initrd already mounted...
[elogind.git] / 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