summaryrefslogtreecommitdiff
path: root/nonsystemd/xudev/30-udev-reload.hook
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/xudev/30-udev-reload.hook')
-rw-r--r--nonsystemd/xudev/30-udev-reload.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/nonsystemd/xudev/30-udev-reload.hook b/nonsystemd/xudev/30-udev-reload.hook
new file mode 100644
index 000000000..96e81df0a
--- /dev/null
+++ b/nonsystemd/xudev/30-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