summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox/virtualbox-guest-modules.install
diff options
context:
space:
mode:
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
+}