summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.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-hugepages.automount
parentdee87d612d295d9c8642b76c716b8e357411e65a (diff)
units: enable dev-hugepages.automount and dev-mqueue.automount only when enabled in kernel
Diffstat (limited to 'units/dev-hugepages.automount')
-rw-r--r--units/dev-hugepages.automount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/dev-hugepages.automount b/units/dev-hugepages.automount
index dfd3868ef8..6e03df3560 100644
--- a/units/dev-hugepages.automount
+++ b/units/dev-hugepages.automount
@@ -9,6 +9,7 @@
Description=Huge Pages File System Automount Point
DefaultDependencies=no
Before=sysinit.target
+ConditionPathExists=/sys/kernel/mm/hugepages
[Automount]
Where=/dev/hugepages