chiark / gitweb /
NEWS: prepare NEWS for new release
[elogind.git] / units / systemd-udev-hwdb-update.service.in
index cdbcd837cd8a5ba38638b1d56364535ba3e661bd..5b1f75d250581fed99ac8bf29c2dcb46ebd112ed 100644 (file)
@@ -13,6 +13,9 @@ Conflicts=shutdown.target
 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