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