summaryrefslogtreecommitdiff
path: root/community/virtualbox/virtualbox-guest-modules.install
blob: 3681c28e33662adf6118aa6dd89d351189a2e171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
KERNEL_VERSION='2.6.38-ARCH'

post_install() {
  cat << EOM

===> virtualbox-guest-modules post-install message:
===>
===> You may want to load vboxguest, vboxsf and vboxvideo
===>
===> To load them automatically, add them
===> to the MODULES array in /etc/rc.conf.

EOM

  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_remove() {
  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_upgrade() {
  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}