Linux-libre support

This commit is contained in:
Grim Kriegor 2018-01-08 21:56:11 +00:00
parent 8d4d295309
commit 2d33a4369e
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ status=0
img=''
# try to find the image of the current running kernel
[ -e /boot/vmlinuz-linux ] && img=/boot/vmlinuz-linux
[ -e /boot/vmlinuz-linux-libre ] && img=/boot/vmlinuz-linux-libre
[ -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)