2020-11-09 05:23:58 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2017-11-18 17:35:03 +01:00
|
|
|
#
|
2013-02-24 17:40:36 +01: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 15:36:17 +02:00
|
|
|
Description=Cleanup udev Database
|
2013-02-24 17:40:36 +01:00
|
|
|
DefaultDependencies=no
|
2020-07-29 16:25:59 +02:00
|
|
|
AssertPathExists=/etc/initrd-release
|
2019-12-14 00:22:51 +01: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 17:40:36 +01:00
|
|
|
Before=initrd-switch-root.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2019-12-18 09:14:57 +01:00
|
|
|
ExecStart=-udevadm info --cleanup-db
|