core: 删除无效的 efi 条目

This commit is contained in:
bin456789 2023-12-23 08:27:41 +08:00
parent 1a3b376ad5
commit fc56ddd7fa
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -744,7 +744,9 @@ EOF
fi
# 删除无效的 efi 条目
if is_efi; then
del_invalid_efi_entry
fi
# 是否保留 swap
if [ -e /os/swapfile ]; then