| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
# |
| 3 |
# This file is part of systemd. |
| 4 |
# |
| 5 |
# systemd is free software; you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU Lesser General Public License as published by |
| 7 |
# the Free Software Foundation; either version 2.1 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
|
| 10 |
[Unit] |
| 11 |
Description=Load udev Rules from Credentials |
| 12 |
Documentation=man:udevadm(8) |
| 13 |
Documentation=man:udev(7) |
| 14 |
Documentation=man:systemd.system-credentials(7) |
| 15 |
|
| 16 |
DefaultDependencies=no |
| 17 |
Before=systemd-udevd.service |
| 18 |
Conflicts=shutdown.target initrd-switch-root.target |
| 19 |
Before=shutdown.target initrd-switch-root.target |
| 20 |
|
| 21 |
[Service] |
| 22 |
Type=oneshot |
| 23 |
RemainAfterExit=yes |
| 24 |
ExecStart=udevadm control --load-credentials |
| 25 |
ImportCredential=udev.conf.* |
| 26 |
ImportCredential=udev.rules.* |
| 27 |
|
| 28 |
[Install] |
| 29 |
WantedBy=sysinit.target |