summaryrefslogtreecommitdiff
path: root/units/proc-sys-fs-binfmt_misc.automount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-02 17:43:18 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-02 17:43:18 +0200
commit7ec75dc70fa414f53c9bb51881ac90d37dd3d5af (patch)
treea77eef2fb148a9a0120099be96d1489692ee566f /units/proc-sys-fs-binfmt_misc.automount
parent40013ebc3dde291128855f0506850bba6518a11d (diff)
units: enable automount units only if the kernel supports them
Diffstat (limited to 'units/proc-sys-fs-binfmt_misc.automount')
-rw-r--r--units/proc-sys-fs-binfmt_misc.automount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
index 91f49ef38..acbbcbb0c 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