summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.automount
diff options
context:
space:
mode:
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