mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 18:15:57 +01:00
add pine64 vmlinuz location
This commit is contained in:
parent
193e0d8d08
commit
995620a682
@ -593,14 +593,21 @@ if [ "$opt_live" = 1 ]; then
|
||||
fi
|
||||
# if we didn't find a kernel, default to guessing
|
||||
if [ ! -e "$opt_kernel" ]; then
|
||||
# Fedora:
|
||||
[ -e /lib/modules/$(uname -r)/vmlinuz ] && opt_kernel=/lib/modules/$(uname -r)/vmlinuz
|
||||
# Slackare:
|
||||
[ -e /boot/vmlinuz ] && opt_kernel=/boot/vmlinuz
|
||||
# Arch:
|
||||
[ -e /boot/vmlinuz-linux ] && opt_kernel=/boot/vmlinuz-linux
|
||||
# Linux-Libre:
|
||||
[ -e /boot/vmlinuz-linux-libre ] && opt_kernel=/boot/vmlinuz-linux-libre
|
||||
# generic:
|
||||
[ -e /boot/vmlinuz-$(uname -r) ] && opt_kernel=/boot/vmlinuz-$(uname -r)
|
||||
[ -e /boot/kernel-$( uname -r) ] && opt_kernel=/boot/kernel-$( uname -r)
|
||||
[ -e /boot/bzImage-$(uname -r) ] && opt_kernel=/boot/bzImage-$(uname -r)
|
||||
# Gentoo:
|
||||
[ -e /boot/kernel-genkernel-$(uname -m)-$(uname -r) ] && opt_kernel=/boot/kernel-genkernel-$(uname -m)-$(uname -r)
|
||||
# NixOS:
|
||||
[ -e /run/booted-system/kernel ] && opt_kernel=/run/booted-system/kernel
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user