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
1 changed files with 1 additions and 0 deletions

View File

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