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:
@@ -1,15 +0,0 @@
|
||||
# This file is part of systemd.
|
||||
#
|
||||
# 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.
|
||||
|
||||
[Unit]
|
||||
Description=Config File System Automount Point
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
ConditionPathExists=/sys/kernel/config
|
||||
|
||||
[Automount]
|
||||
Where=/sys/kernel/config
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user