From 0286cc1551927ea93e22b2d451a8bedddfc9d4ea Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 Sep 2011 03:16:00 +0200 Subject: units: drop /sys/kernel/config automount unit The mount point directory /sys/kernel/config is only created after the module is loaded, hence there's little value in having this an automount unit: the runtime penalty for mounting an autofs here should be the same as for a real mount. --- units/sys-kernel-config.mount | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'units/sys-kernel-config.mount') diff --git a/units/sys-kernel-config.mount b/units/sys-kernel-config.mount index a80d052556..f64b1ac25f 100644 --- a/units/sys-kernel-config.mount +++ b/units/sys-kernel-config.mount @@ -6,8 +6,10 @@ # (at your option) any later version. [Unit] -Description=Config File System +Description=Configuration File System DefaultDependencies=no +ConditionPathExists=/sys/kernel/config +After=systemd-modules-load.service [Mount] What=configfs -- cgit v1.2.3-54-g00ecf