summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts/virtualbox-libre-modules-lts.install
blob: 5387563a6dcef4550a85fcffc2d669b5503f11fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EXTRAMODULES='extramodules-3.0-LIBRE-LTS'

post_install() {
/bin/cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_upgrade() {
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
    echo 'In order to use the new version, reload all virtualbox modules manually.'
}

post_remove() {
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}