summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox/virtualbox-guest-modules.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-21 22:46:28 +0000
committerroot <root@rshg047.dnsready.net>2011-05-21 22:46:28 +0000
commit0fdfc2325867395ad4262d06b2d89955ac3cf6a4 (patch)
tree41a1c990201f8425abd9c50018689c87cf6483aa /community-testing/virtualbox/virtualbox-guest-modules.install
parent6cf70d41be9abf69b6d19fbb4ce665c76db3a6c6 (diff)
Sat May 21 22:46:28 UTC 2011
Diffstat (limited to 'community-testing/virtualbox/virtualbox-guest-modules.install')
-rw-r--r--community-testing/virtualbox/virtualbox-guest-modules.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/community-testing/virtualbox/virtualbox-guest-modules.install b/community-testing/virtualbox/virtualbox-guest-modules.install
new file mode 100644
index 000000000..ae05bd1ba
--- /dev/null
+++ b/community-testing/virtualbox/virtualbox-guest-modules.install
@@ -0,0 +1,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
+}