X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fdev-hugepages.automount;h=6e03df3560f754da54d8beabc4788355738cc68a;hp=bcc40090b6c14645f1a166901db6aab61653443d;hb=02f130cbd943c5c177cb0e711db0447cac685d67;hpb=710bd1434709402e557b03a684eb905b619477dc diff --git a/units/dev-hugepages.automount b/units/dev-hugepages.automount index bcc40090b..6e03df356 100644 --- a/units/dev-hugepages.automount +++ b/units/dev-hugepages.automount @@ -1,23 +1,15 @@ # This file is part of systemd. # -# Copyright 2010 Lennart Poettering -# # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . [Unit] Description=Huge Pages File System Automount Point -Before=basic.target +DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/sys/kernel/mm/hugepages [Automount] Where=/dev/hugepages