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

post_upgrade() {
  post_install
}

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