summarylogtreecommitdiffstats
path: root/blacklist_pcspkr.hook
diff options
context:
space:
mode:
Diffstat (limited to 'blacklist_pcspkr.hook')
-rw-r--r--blacklist_pcspkr.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/blacklist_pcspkr.hook b/blacklist_pcspkr.hook
new file mode 100644
index 000000000000..a4e10b38658c
--- /dev/null
+++ b/blacklist_pcspkr.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modprobe.d/blacklist_pcspkr.conf
+
+[Action]
+Description = Updating all initcpios disable pcspkr
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -P