diff options
author | Ewout van Mansom | 2023-04-18 00:21:31 +0200 |
---|---|---|
committer | Ewout van Mansom | 2023-04-18 00:21:31 +0200 |
commit | 0c9dd7cdf04d728dcabd58bd8b4c2a303e669a35 (patch) | |
tree | 32bbbf12b4fdea5f5b8c85685bf286712591241b /modules-reload.hook | |
download | aur-pacman-hook-reload-modules.tar.gz |
initial commit
Diffstat (limited to 'modules-reload.hook')
-rw-r--r-- | modules-reload.hook | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules-reload.hook b/modules-reload.hook new file mode 100644 index 000000000000..89966a1ca781 --- /dev/null +++ b/modules-reload.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Path +Target = usr/lib/modules-load.d/* +Target = etc/modules-load.d/* + +[Action] +Description = Reloading kernel modules... +When = PostTransaction +Exec = /usr/bin/systemctl restart systemd-modules-load.service |