summaryrefslogtreecommitdiff
path: root/libre/systemd/udev-hwdb.hook
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-04 04:08:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-04 04:12:11 -0300
commitc9182002b9fee249a4fdb7f1dd6187755916a6dc (patch)
treebd93f203720c010c451aa69b6b5968e1dfffe7bd /libre/systemd/udev-hwdb.hook
parent488f18719366667811f2bf8dea3cd0bab0c0b76e (diff)
systemd-230-3.parabola1: updating version
Diffstat (limited to 'libre/systemd/udev-hwdb.hook')
-rw-r--r--libre/systemd/udev-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/systemd/udev-hwdb.hook b/libre/systemd/udev-hwdb.hook
new file mode 100644
index 000000000..7bc055b4e
--- /dev/null
+++ b/libre/systemd/udev-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/bin/udevadm hwdb --update