aboutsummarylogtreecommitdiffstats
path: root/linux-keep-modules.install
blob: 269fe981bab762c5a98a14dc306550a64ce0e495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Author: James Cherti
# URL: https://github.com/jamescherti/archlinux-linux-keep-modules
# License: Distributed under terms of the MIT license.

post_upgrade() {
  echo
  echo "Enable the cleanup-linux-modules service using the following commands:"
  echo "  systemctl enable cleanup-linux-modules"
  echo
  echo "(The cleanup-linux-modules service will delete the kernel modules" \
    "that are not owned by any a package at boot time)"
}

post_install() {
  post_upgrade
}