1 2 3 4 5 6 7 8
post_install() { KERNEL_VERSION=$(uname -r | cut -d '.' -f 1,2) depmod $(cat /usr/lib/modules/extramodules-${KERNEL_VERSION}-ARCH/version) } post_upgrade() { post_install }