Tired of missing modules when updating the kernel?
Annoyed by modprobe: FATAL: Module smth not found in directory /lib/modules/new-kernel
?
Losing uptime after reboots due to kernel update?
The solution is here.
Do not worry, backups are automatically cleaned.
"$YOUR_FAVORITE_AUR_HELPER" -S kernel-modules-hook
git clone https://github.com/saber-nyan/kernel-modules-hook.git
cd kernel-modules-hook
makepkg -sci
sudo systemctl daemon-reload
sudo systemctl enable linux-modules-cleanup.service