summarylogtreecommitdiffstats
path: root/riffa.install
blob: 1306f0786720fba16d50e08ebb6e5295e94fb63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

# Note : pacman autoimatically performs the following tasks after package install/update/remove:
# Update libraries with ldconfig
# Update kernel module dependencies with depmod (provided the module is installed at aappropariate path)

post_install() {
  echo '==> The RIFFA driver must be enabled to be used : # modprobe riffa'
}

post_upgrade() {
  echo '==> To use the new RIFFA driver without rebooting : # rmmod riffa ; modprobe riffa'
}

post_remove() {
  echo '==> Removing the Riffa kernel module'
  rmmod riffa
}