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

post_upgrade() {
  post_install
}

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