edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen# This file is part of systemd.
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen#
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen# systemd is free software; you can redistribute it and/or modify it
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen# under the terms of the GNU Lesser General Public License as published by
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen# the Free Software Foundation; either version 2.1 of the License, or
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen# (at your option) any later version.
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen[Unit]
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom GundersenDescription=Create list of required static device nodes for the current kernel
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom GundersenDefaultDependencies=no
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom GundersenBefore=sysinit.target systemd-tmpfiles-setup-dev.service
e0c74691c41a204eba2fd5f39615049fc9ff1648Lennart PoetteringConditionCapability=CAP_SYS_MODULE
6233c794b2b6eeee178727cfe3729243876e2948Martin PittConditionFileNotEmpty=/lib/modules/%v/modules.devname
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom Gundersen[Service]
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom GundersenType=oneshot
7e380bba1cd517570655c0e653e2239e33988cd1Tom GundersenRemainAfterExit=yes
edeb68c53f1cdc452016b4c8512586a70b1262e3Tom GundersenExecStart=@KMOD@ static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf