summaryrefslogtreecommitdiff
path: root/community/vhba-module/vhba-module.install
blob: 75669d1a58ee0b855e31d7716c2b2547936d028a (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."
  KERNEL_VERSION='3.0-ARCH'
  depmod $KERNEL_VERSION > /dev/null 2>&1
}

post_upgrade() {
  post_install
}

post_remove() {
  KERNEL_VERSION='3.0-ARCH'
  depmod $KERNEL_VERSION > /dev/null 2>&1
}