summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-06-09 10:58:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-06-09 11:52:10 +1000
commit03dfe7b749796c10074b5ebc5e9c3f947d726104 (patch)
treec5facb68115b277049f3b3e3d2fe3af5585fb0b4 /units
parent02776da6ec90d28799561407d8a07f76d1c2c120 (diff)
hwdb: actually search /run/udev/hwdb.d
The documentation claims hwdb entries may be placed in the volatile /run/udev/hwdb.d directory but nothing actually looked at it.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-hwdb-update.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-hwdb-update.service.in b/units/systemd-hwdb-update.service.in
index 7135cff3d9..d13383d55d 100644
--- a/units/systemd-hwdb-update.service.in
+++ b/units/systemd-hwdb-update.service.in
@@ -16,6 +16,7 @@ ConditionNeedsUpdate=/etc
ConditionPathExists=|!@udevlibexecdir@/hwdb.bin
ConditionPathExists=|/etc/udev/hwdb.bin
ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d/
+ConditionDirectoryNotEmpty=|/run/udev/hwdb.d/
[Service]
Type=oneshot