aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/90-modprobe-d.hook
diff options
context:
space:
mode:
Diffstat (limited to 'arch-system/90-modprobe-d.hook')
-rw-r--r--arch-system/90-modprobe-d.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch-system/90-modprobe-d.hook b/arch-system/90-modprobe-d.hook
new file mode 100644
index 0000000..90a035f
--- /dev/null
+++ b/arch-system/90-modprobe-d.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/modprobe.d/*
+
+[Action]
+Description = Rebuilding initcpios
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -P