X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-udev-hwdb-update.service.in;h=5b1f75d250581fed99ac8bf29c2dcb46ebd112ed;hb=68ac53e62fadb87f1b33ccd9bff9c3f7f699c937;hp=153d93c7e54be6f9c5f6d09ffd61a7979cac79fe;hpb=b63bb8a724cab7a315f04c3068f0d628cc163b8b;p=elogind.git 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