summaryrefslogtreecommitdiff
path: root/community/vhba-module/vhba-module.install
blob: eca9bb2853fc47ff055d9247c69988dd9465306b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot."
  echo ">> This module needs to be recompiled for every kernel version upgrade."
  EXTRAMODULES='extramodules-3.1-ARCH'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

post_upgrade() {
  post_install
}

post_remove() {
  EXTRAMODULES='extramodules-3.1-ARCH'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
}