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.
This commit is contained in:
Lennart Poettering
2011-09-21 03:56:55 +02:00
parent c72dcc5431
commit 0286cc1551
4 changed files with 15 additions and 19 deletions
+3 -1
View File
@@ -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