diff options
author | root <root@rshg054.dnsready.net> | 2013-07-06 01:37:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-06 01:37:35 -0700 |
commit | f37cbd892db45b858a9a876c3aea2f007803b7e1 (patch) | |
tree | 33e5eaf8cd2ccbcc89e614172f86d60181924099 /community/virtualbox-modules-lts/virtualbox-host-modules-lts.install | |
parent | 058f9788c1e4f2b1daac706848cb51fef22c8a5d (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.install | 13 |
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: |