blob: a5cbd4886a603e5c441747d36574064603d55430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Author: James Cherti
# URL: https://github.com/jamescherti/archlinux-linux-keep-modules
# License: Distributed under terms of the MIT license.
[Trigger]
Operation = Upgrade
Type = Path
Target = usr/lib/modules/*
[Action]
Description = Restore the modules of the currently running Linux kernel
When = PostTransaction
Depends = rsync
Depends = bash
Depends = coreutils
Exec = /usr/share/libalpm/scripts/pacman-hook-linux-modules.sh restore
|