Update install.sh

This commit is contained in:
Kroese 2024-05-23 02:29:04 +02:00 committed by GitHub
parent b32e66bc1d
commit 0103d33042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,6 +146,11 @@ finishInstall() {
echo "$BOOT_MODE" > "$STORAGE/windows.mode" echo "$BOOT_MODE" > "$STORAGE/windows.mode"
fi fi
fi fi
# Enable secure boot on multi-socket systems to workaround freeze
if [[ "$SOCKETS" != "1" ]]; then
BOOT_MODE="windows_secure"
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
fi
fi fi
fi fi