mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-23 00:01:35 +08:00
When a kernel upgrade is taken in, we replace current modules with new ones and they are not available until we reboot. This can cause the system to appear broken, especially when plugging new hardwaare like a pen drive or odd input device. This patch adds kernel-modules-hook which keeps the current modules even if the package is replaced. A one-off clean-up service runs on startup to remove older modules.
2 lines
58 B
Bash
2 lines
58 B
Bash
chrootable_systemctl_enable linux-modules-cleanup.service
|