mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-08-29 23:33:41 +02:00
feat(config): support for genkernel kernel config file (#239)
Add support for distributions using genkernel.
This commit is contained in:
parent
b2f64e1132
commit
e8890ffac6
@ -1487,6 +1487,8 @@ if [ "$opt_live" = 1 ]; then
|
||||
opt_config="/lib/modules/$(uname -r)/config"
|
||||
elif [ -e "/boot/config-$(uname -r)" ]; then
|
||||
opt_config="/boot/config-$(uname -r)"
|
||||
elif [ -e "/etc/kernels/kernel-config-$(uname -m)-$(uname -r)" ]; then
|
||||
opt_config="/etc/kernels/kernel-config-$(uname -m)-$(uname -r)"
|
||||
fi
|
||||
else
|
||||
_info "Checking for vulnerabilities against specified kernel"
|
||||
|
Loading…
Reference in New Issue
Block a user