summaryrefslogtreecommitdiff
path: root/libre/systemd/systemd-hwdb.hook
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:28:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:28:45 -0500
commitbb7dc480fc16e9ca6ecd1db1bb3ca051c7c61540 (patch)
treeedc73f28bd9cdb2531b24d8d2900b1c0a6fe6e70 /libre/systemd/systemd-hwdb.hook
parentc0909157cb9c2649ebc7fd956093dde5b37dc673 (diff)
parent17ee2a7af2545ec3265eef00019f129d1df5a122 (diff)
downloadabslibre-bb7dc480fc16e9ca6ecd1db1bb3ca051c7c61540.tar.gz
abslibre-bb7dc480fc16e9ca6ecd1db1bb3ca051c7c61540.tar.bz2
abslibre-bb7dc480fc16e9ca6ecd1db1bb3ca051c7c61540.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/systemd/systemd-hwdb.hook')
-rw-r--r--libre/systemd/systemd-hwdb.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/systemd/systemd-hwdb.hook b/libre/systemd/systemd-hwdb.hook
new file mode 100644
index 000000000..d7c987724
--- /dev/null
+++ b/libre/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/bin/systemd-hwdb --usr update