kmod-static-nodes.service 677 B

123456789101112131415161718
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. [Unit]
  8. Description=Create list of required static device nodes for the current kernel
  9. DefaultDependencies=no
  10. Before=sysinit.target systemd-tmpfiles-setup-dev.service
  11. ConditionCapability=CAP_SYS_MODULE
  12. ConditionFileNotEmpty=/lib/modules/%v/modules.devname
  13. [Service]
  14. Type=oneshot
  15. RemainAfterExit=yes
  16. ExecStart=/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf