chiark / gitweb /
units: conditionalize configfs and debugfs with CAP_SYS_RAWIO
[elogind.git] / units / sys-kernel-config.mount
index d6862bf6bd8bd0f9938181ac3cc7ef034edb9b2a..21648eff6af7a59ff7cf97f6d2ac419bc461f382 100644 (file)
@@ -1,14 +1,17 @@
 #  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
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
 Description=Configuration File System
+Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 ConditionPathExists=/sys/kernel/config
+ConditionCapability=CAP_SYS_RAWIO
 After=systemd-modules-load.service
 Before=sysinit.target