aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: efb45e7e770ddf6dc1aefbf900218447e43dca6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# <p align="center">kernel-modules-hook</p>

Tired of missing modules when updating the kernel?<br/>
Annoyed by `modprobe: FATAL: Module smth not found in directory /lib/modules/new-kernel`?<br/>
Losing uptime after reboots due to kernel update?

*The solution is here.*

* Save.<br/>
![Save](https://i.imgur.com/3YHtBRB.png)<br/>
* Update.<br/>
![Update](https://i.imgur.com/uxySEMY.png)<br/>
* Restore.<br/>
![Restore](https://i.imgur.com/AJeBw0n.png)<br/>
* Enjoy.<br/>
![Enjoy](https://i.imgur.com/WQAYSSR.png)

Do not worry, backups are automatically cleaned.

## Installation
[AUR link](https://aur.archlinux.org/packages/kernel-modules-hook/)
```bash
$ %your_aur_helper% -S kernel-modules-hook

# Or from git:

$ git clone https://github.com/saber-nyan/kernel-modules-hook.git kmh
$ cd kmh
$ makepkg -sci
$ sudo systemctl daemon-reload
$ sudo systemctl enable linux-modules-cleanup
```