chiark / gitweb /
units: Add support for automounting configfs, ala debugfs, etc.
[elogind.git] / units / sys-kernel-config.automount
diff --git a/units/sys-kernel-config.automount b/units/sys-kernel-config.automount
new file mode 100644 (file)
index 0000000..1b4e811
--- /dev/null
@@ -0,0 +1,15 @@
+#  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