From 26b8e979c8a6340180716f686dbe26e4906bc568 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 2 Jul 2011 01:00:00 +0200 Subject: units: enable dev-hugepages.automount and dev-mqueue.automount only when enabled in kernel --- units/dev-hugepages.automount | 1 + 1 file changed, 1 insertion(+) (limited to 'units/dev-hugepages.automount') 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 -- cgit v1.2.3-54-g00ecf