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