diff options
author | Jonathan Kotta | 2020-03-14 20:32:25 -0500 |
---|---|---|
committer | Jonathan Kotta | 2020-03-14 20:32:25 -0500 |
commit | f5dff153c22dfb3f59cd3d714781bf9c57949e05 (patch) | |
tree | 74f14f66e5d9c8e31e86190265d65f3d35f74fd5 /50-save-kernel-modules-pre.hook | |
download | aur-f5dff153c22dfb3f59cd3d714781bf9c57949e05.tar.gz |
initial commit
Diffstat (limited to '50-save-kernel-modules-pre.hook')
-rw-r--r-- | 50-save-kernel-modules-pre.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/50-save-kernel-modules-pre.hook b/50-save-kernel-modules-pre.hook new file mode 100644 index 000000000000..6c03af451f05 --- /dev/null +++ b/50-save-kernel-modules-pre.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Upgrade +Operation = Remove +Type = Path +Target = usr/lib/modules/*/vmlinuz + +[Action] +Description = Saving modules of the running kernel... +When = PreTransaction +Exec = /usr/lib/modules/saved-kernel-modules/pre-hook |