1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# post install. post_install() { depmod $(cat /usr/lib/modules/extramodules-4.3-ARCH/version) udevadm control --reload-rules } # post upgrade. post_upgrade() { post_install } # post remove. post_remove() { post_install }