summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/proc-sys-fs-binfmt_misc.automount1
-rw-r--r--units/sys-kernel-debug.automount1
-rw-r--r--units/sys-kernel-security.automount1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
index 91f49ef380..acbbcbb0cb 100644
--- a/units/proc-sys-fs-binfmt_misc.automount
+++ b/units/proc-sys-fs-binfmt_misc.automount
@@ -9,6 +9,7 @@
Description=Arbitrary Executable File Formats File System Automount Point
DefaultDependencies=no
Before=sysinit.target
+ConditionPathExists=/proc/sys/fs/binfmt_misc
[Automount]
Where=/proc/sys/fs/binfmt_misc
diff --git a/units/sys-kernel-debug.automount b/units/sys-kernel-debug.automount
index f856a87930..2f2de9829f 100644
--- a/units/sys-kernel-debug.automount
+++ b/units/sys-kernel-debug.automount
@@ -9,6 +9,7 @@
Description=Debug File System Automount Point
DefaultDependencies=no
Before=sysinit.target
+ConditionPathExists=/sys/kernel/debug
[Automount]
Where=/sys/kernel/debug
diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount
index cd13e4a88a..b7b16e19aa 100644
--- a/units/sys-kernel-security.automount
+++ b/units/sys-kernel-security.automount
@@ -9,6 +9,7 @@
Description=Security File System Automount Point
DefaultDependencies=no
Before=sysinit.target
+ConditionPathExists=/sys/kernel/security
[Automount]
Where=/sys/kernel/security