2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 16:35:03 +00:00
|
|
|
#
|
2013-06-14 20:56:39 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# 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]
|
2021-06-30 10:54:31 +00:00
|
|
|
Description=Create List of Static Device Nodes
|
2013-06-14 20:56:39 +00:00
|
|
|
DefaultDependencies=no
|
2023-08-11 22:54:32 +00:00
|
|
|
Before=sysinit.target systemd-tmpfiles-setup-dev-early.service
|
2014-07-04 01:07:20 +00:00
|
|
|
ConditionCapability=CAP_SYS_MODULE
|
2016-01-11 15:26:17 +00:00
|
|
|
ConditionFileNotEmpty=/lib/modules/%v/modules.devname
|
2013-06-14 20:56:39 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2013-07-22 15:10:15 +00:00
|
|
|
RemainAfterExit=yes
|
2021-05-16 09:55:36 +00:00
|
|
|
ExecStart={{KMOD}} static-nodes --format=tmpfiles --output=/run/tmpfiles.d/static-nodes.conf
|