Update
This commit is contained in:
parent
4e2b226ece
commit
615982df2c
|
@ -77,6 +77,4 @@ default_selection "linux"
|
||||||
|
|
||||||
[YooMoney](https://yoomoney.ru/to/4100115921160758)
|
[YooMoney](https://yoomoney.ru/to/4100115921160758)
|
||||||
|
|
||||||
[Qiwi](https://qiwi.com/n/VALERIAFADEEVA)
|
|
||||||
|
|
||||||
Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f
|
Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f
|
||||||
|
|
|
@ -133,7 +133,17 @@ if [ -d "$KERNEL_DIR" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
kernels_list=$(ls -1 "${ESP}/EFI/Linux/" | grep 'linu' | grep -v 'fallback' | grep '\.efi$')
|
kernels_list=$(ls -1 "${ESP}/EFI/Linux/" | grep 'linux' | grep -v 'fallback' | grep '\.efi$')
|
||||||
|
if [[ -z "$kernels_list" ]]; then
|
||||||
|
kernels_list=$(ls -1 "${ESP}/EFI/Linux/" | grep "^vmlinuz" | sed "s/vmlinuz-//")
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -e "KERNELS:\n$kernels_list"
|
||||||
|
|
||||||
|
if [[ -z "$kernels_list" ]]; then
|
||||||
|
echo "ERROR: list of kernels is empty"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
for i in $kernels_list;
|
for i in $kernels_list;
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue