mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-12-31 16:45:45 +01:00
Merge pull request #4 from dguglielmi/add-genkernel-support
Add support for Gentoo genkernel image path
This commit is contained in:
commit
89f9bef577
@ -93,6 +93,7 @@ img=''
|
||||
[ -e /boot/vmlinuz-$(uname -r) ] && img=/boot/vmlinuz-$(uname -r)
|
||||
[ -e /boot/kernel-$( uname -r) ] && img=/boot/kernel-$( uname -r)
|
||||
[ -e /boot/bzImage-$(uname -r) ] && img=/boot/bzImage-$(uname -r)
|
||||
[ -e /boot/kernel-genkernel-$(uname -m)-$(uname -r) ] && img=/boot/kernel-genkernel-$(uname -m)-$(uname -r)
|
||||
if [ -z "$img" ]; then
|
||||
pstatus yellow UNKNOWN "couldn't find your kernel image in /boot, if you used netboot, this is normal"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user