]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/kmod-static-nodes.service.in
Merge pull request #1467 from jacob-keller/master
[thirdparty/systemd.git] / units / kmod-static-nodes.service.in
CommitLineData
edeb68c5
TG
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
8[Unit]
9Description=Create list of required static device nodes for the current kernel
10DefaultDependencies=no
11Before=sysinit.target systemd-tmpfiles-setup-dev.service
e0c74691 12ConditionCapability=CAP_SYS_MODULE
8083d486 13ConditionPathExists=/lib/modules/%v/modules.devname
edeb68c5
TG
14
15[Service]
16Type=oneshot
7e380bba 17RemainAfterExit=yes
edeb68c5 18ExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf