chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: Add try-{host,guest} journal link modes
[elogind.git]
/
units
/
systemd-udev-hwdb-update.service.in
diff --git
a/units/systemd-udev-hwdb-update.service.in
b/units/systemd-udev-hwdb-update.service.in
index cdbcd837cd8a5ba38638b1d56364535ba3e661bd..5b1f75d250581fed99ac8bf29c2dcb46ebd112ed 100644
(file)
--- a/
units/systemd-udev-hwdb-update.service.in
+++ b/
units/systemd-udev-hwdb-update.service.in
@@
-13,6
+13,9
@@
Conflicts=shutdown.target
After=systemd-remount-fs.service
Before=sysinit.target shutdown.target systemd-update-done.service
ConditionNeedsUpdate=/etc
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
[Service]
Type=oneshot