summaryrefslogtreecommitdiff
path: root/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-06 01:37:35 -0700
committerroot <root@rshg054.dnsready.net>2013-07-06 01:37:35 -0700
commitf37cbd892db45b858a9a876c3aea2f007803b7e1 (patch)
tree33e5eaf8cd2ccbcc89e614172f86d60181924099 /community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
parent058f9788c1e4f2b1daac706848cb51fef22c8a5d (diff)
Sat Jul 6 01:36:25 PDT 2013
Diffstat (limited to 'community/virtualbox-modules-lts/virtualbox-host-modules-lts.install')
-rw-r--r--community/virtualbox-modules-lts/virtualbox-host-modules-lts.install13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install b/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
index 6c1a57d3a..cddbffb43 100644
--- a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
+++ b/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
@@ -1,20 +1,23 @@
-VERSION=''
+_depmod() {
+ EXTRAMODULES='extramodules-3.0-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
post_install() {
-cat << EOF
+ cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
- depmod $VERSION
+ _depmod
}
post_upgrade() {
- depmod $VERSION
+ _depmod
echo 'In order to use the new version, reload all virtualbox modules manually.'
}
post_remove() {
- depmod $VERSION
+ _depmod
}
# vim:set ts=2 sw=2 et: