aboutsummarylogtreecommitdiffstats
path: root/cleanup-linux-modules.service
blob: cbfdd1660088831aa9e5cdf7df77bb5aa6713421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Author: James Cherti
# URL: https://github.com/jamescherti/archlinux-linux-keep-modules
# License: Distributed under terms of the MIT license.
[Unit]
Description=Delete the kernel modules that are not owned by any a package

[Service]
Type=oneshot
ExecStart=/usr/share/libalpm/scripts/pacman-hook-linux-modules.sh cleanup

[Install]
WantedBy=basic.target