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-02-24 16:40:36 +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]
|
2020-06-02 13:36:17 +00:00
|
|
|
Description=Cleanup udev Database
|
2013-02-24 16:40:36 +00:00
|
|
|
DefaultDependencies=no
|
2020-07-29 14:25:59 +00:00
|
|
|
AssertPathExists=/etc/initrd-release
|
2019-12-13 23:22:51 +00:00
|
|
|
Conflicts=systemd-udevd.service systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udev-trigger.service systemd-udev-settle.service
|
|
|
|
After=systemd-udevd.service systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udev-trigger.service systemd-udev-settle.service
|
2013-02-24 16:40:36 +00:00
|
|
|
Before=initrd-switch-root.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2019-12-18 08:14:57 +00:00
|
|
|
ExecStart=-udevadm info --cleanup-db
|