summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox/virtualbox-guest-modules.install
blob: ae05bd1ba38bf75af2672387869b1485dd893946 (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.39-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
}