From 8d3180a2ff67e40dcaa5eaff22ec47c60ef7be7d Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 23 May 2024 02:37:01 +0200 Subject: [PATCH] feat: Enable secure boot on multi-socket systems --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index ddaff1a..558b10e 100644 --- a/src/install.sh +++ b/src/install.sh @@ -147,7 +147,7 @@ finishInstall() { fi fi # Enable secure boot on multi-socket systems to workaround freeze - if [[ "$SOCKETS" != "1" ]]; then + if [ -n "$SOCKETS" ] && [[ "$SOCKETS" != "1" ]]; then BOOT_MODE="windows_secure" echo "$BOOT_MODE" > "$STORAGE/windows.mode" fi