1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
EXTRAMODULES='extramodules-3.0-LIBRE-LTS' post_install() { cat << EOF ===> You may want to load vboxguest, vboxsf and vboxvideo EOF depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } post_upgrade() { depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } post_remove() { depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) }