X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-udev-hwdb-update.service.in;h=5b1f75d250581fed99ac8bf29c2dcb46ebd112ed;hp=153d93c7e54be6f9c5f6d09ffd61a7979cac79fe;hb=f9e00a9f5870a9bcae2de8bf1cb3ce04703112e1;hpb=b63bb8a724cab7a315f04c3068f0d628cc163b8b diff --git a/units/systemd-udev-hwdb-update.service.in b/units/systemd-udev-hwdb-update.service.in index 153d93c7e..5b1f75d25 100644 --- a/units/systemd-udev-hwdb-update.service.in +++ b/units/systemd-udev-hwdb-update.service.in @@ -10,9 +10,12 @@ Description=Rebuild Hardware Database Documentation=man:udev(7) man:systemd-udevd.service(8) DefaultDependencies=no Conflicts=shutdown.target -After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service +After=systemd-remount-fs.service Before=sysinit.target shutdown.target systemd-update-done.service ConditionNeedsUpdate=/etc +ConditionPathExists=|!@udevlibexecdir@/hwdb.bin +ConditionPathExists=|/etc/udev/hwdb.bin +ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d/ [Service] Type=oneshot