summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/systemd-hwdb.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/systemd/systemd-hwdb.hook')
-rw-r--r--libre-testing/systemd/systemd-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/systemd/systemd-hwdb.hook b/libre-testing/systemd/systemd-hwdb.hook
new file mode 100644
index 000000000..ec5bcfb94
--- /dev/null
+++ b/libre-testing/systemd/systemd-hwdb.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/udev/hwdb.d/*
+
+[Action]
+Description = Updating udev hardware database...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/udev-hook hwdb