summaryrefslogtreecommitdiff
path: root/units/dev-mqueue.automount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-02 01:00:00 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-02 01:00:00 +0200
commit26b8e979c8a6340180716f686dbe26e4906bc568 (patch)
treeae6214b7a4f956b0120eb70659b8fb6e730b67b1 /units/dev-mqueue.automount
parentdee87d612d295d9c8642b76c716b8e357411e65a (diff)
units: enable dev-hugepages.automount and dev-mqueue.automount only when enabled in kernel
Diffstat (limited to 'units/dev-mqueue.automount')
-rw-r--r--units/dev-mqueue.automount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/dev-mqueue.automount b/units/dev-mqueue.automount
index 73c4110efd..1061597571 100644
--- a/units/dev-mqueue.automount
+++ b/units/dev-mqueue.automount
@@ -9,6 +9,7 @@
Description=POSIX Message Queue File System Automount Point
DefaultDependencies=no
Before=sysinit.target
+ConditionPathExists=/proc/sys/fs/mqueue
[Automount]
Where=/dev/mqueue