summaryrefslogtreecommitdiff
path: root/60-linux.hook
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-06-27 16:08:45 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-06-27 16:08:45 -0700
commit2bc4ebc458f7b4ec8138d2ec97a2511e6be3c2a9 (patch)
tree5907b924e8df88c70588f8a636862cb64e3aab8c /60-linux.hook
downloadlinux-hardened-ck-2bc4ebc458f7b4ec8138d2ec97a2511e6be3c2a9.tar.xz
Initial commit
Diffstat (limited to '60-linux.hook')
-rw-r--r--60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/60-linux.hook b/60-linux.hook
new file mode 100644
index 0000000..b33873c
--- /dev/null
+++ b/60-linux.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/%KERNVER%/*
+Target = usr/lib/modules/%EXTRAMODULES%/*
+
+[Action]
+Description = Updating %PKGBASE% module dependencies...
+When = PostTransaction
+Exec = /usr/bin/depmod %KERNVER%