summaryrefslogtreecommitdiff
path: root/units/sys-kernel-security.mount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 03:26:37 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 03:56:56 +0200
commit77f81d8b3012c9b8dbfea89d6b54917d3e72a9a7 (patch)
tree4a25eee6a4ee1cd0d12877e4af8bcae47433de51 /units/sys-kernel-security.mount
parente124e7a4a15f89fc6fbdf3e554a86d5a26160624 (diff)
units: drop automount unit for /sys/kernel/security
Since securityfs cannot be build as module there's little value in having an on-demand autofs mount point for it.
Diffstat (limited to 'units/sys-kernel-security.mount')
-rw-r--r--units/sys-kernel-security.mount3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/sys-kernel-security.mount b/units/sys-kernel-security.mount
index 770207f004..f5d84a6fe2 100644
--- a/units/sys-kernel-security.mount
+++ b/units/sys-kernel-security.mount
@@ -8,6 +8,9 @@
[Unit]
Description=Security File System
DefaultDependencies=no
+ConditionPathExists=/sys/kernel/security
+ConditionPathIsMountPoint=!/sys/kernel/security
+Before=sysinit.target
[Mount]
What=securityfs