X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsys-kernel-security.automount;h=b0fc4618ecc90c25abd395a9d0cd6b121d8b5096;hb=e124e7a4a15f89fc6fbdf3e554a86d5a26160624;hp=a428e0b6c14eaabbe9df79af10123c48f503f7fb;hpb=2edd4434e5bc6e5c7948df742d82f4bcd6c415f3;p=elogind.git diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount index a428e0b6c..b0fc4618e 100644 --- a/units/sys-kernel-security.automount +++ b/units/sys-kernel-security.automount @@ -8,6 +8,9 @@ [Unit] Description=Security File System Automount Point DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/sys/kernel/security +ConditionPathIsMountPoint=!/sys/kernel/security [Automount] Where=/sys/kernel/security