1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-12-23 04:43:37 +01:00

Add Support for Slackware.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2018-01-16 16:58:00 +07:00 committed by Stéphane Lesimple
parent 7a88aec95f
commit 556951d5f0

View File

@ -583,6 +583,7 @@ if [ "$opt_live" = 1 ]; then
fi fi
# if we didn't find a kernel, default to guessing # if we didn't find a kernel, default to guessing
if [ ! -e "$opt_kernel" ]; then if [ ! -e "$opt_kernel" ]; then
[ -e /boot/vmlinuz ] && opt_kernel=/boot/vmlinuz
[ -e /boot/vmlinuz-linux ] && opt_kernel=/boot/vmlinuz-linux [ -e /boot/vmlinuz-linux ] && opt_kernel=/boot/vmlinuz-linux
[ -e /boot/vmlinuz-linux-libre ] && opt_kernel=/boot/vmlinuz-linux-libre [ -e /boot/vmlinuz-linux-libre ] && opt_kernel=/boot/vmlinuz-linux-libre
[ -e /boot/vmlinuz-$(uname -r) ] && opt_kernel=/boot/vmlinuz-$(uname -r) [ -e /boot/vmlinuz-$(uname -r) ] && opt_kernel=/boot/vmlinuz-$(uname -r)