summaryrefslogtreecommitdiffstats
path: root/vhba-module/vhba-module.install
blob: 422ff826f89412b00f84665148d53b749fb14a17 (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.32-ARCH'
  depmod $KERNEL_VERSION > /dev/null 2>&1
}

post_upgrade() {
  post_install
}

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