summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclient/engine/Boot.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib
index 71a3688b..217980d1 100755
--- a/client/engine/Boot.lib
+++ b/client/engine/Boot.lib
@@ -83,7 +83,7 @@ case "$TYPE" in
read -e EFIDISK EFIPART <<<"$(ogGetEsp)"
[ -n "$EFIPART" ] || ogRaiseError $OG_ERR_PARTITION "ESP" || return $?
# Comprobar si el Kernel está firmado.
- if ! sbverify --no-verify "$MNTDIR/$KERNEL" &>/dev/null; then
+ if ! file -k "$MNTDIR/$KERNEL" | grep -q "EFI app"; then
ogRaiseError $OG_ERR_NOTOS "$1 $2 ($TYPE, EFI)"
return $?
fi