summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox/virtualbox-archlinux-modules.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-25 23:17:16 +0000
committerroot <root@rshg047.dnsready.net>2011-07-25 23:17:16 +0000
commit1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (patch)
treecb6d8e0d281eb0244b2f40ea9513a312584b43bc /community-testing/virtualbox/virtualbox-archlinux-modules.install
parentc52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (diff)
Mon Jul 25 23:17:16 UTC 2011
Diffstat (limited to 'community-testing/virtualbox/virtualbox-archlinux-modules.install')
-rw-r--r--community-testing/virtualbox/virtualbox-archlinux-modules.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/community-testing/virtualbox/virtualbox-archlinux-modules.install b/community-testing/virtualbox/virtualbox-archlinux-modules.install
new file mode 100644
index 000000000..d3e425584
--- /dev/null
+++ b/community-testing/virtualbox/virtualbox-archlinux-modules.install
@@ -0,0 +1,24 @@
+KERNEL_VERSION='3.0.0-ARCH'
+
+post_install() {
+ cat << EOM
+
+===> virtualbox-archlinux-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
+}