feat: Enable secure boot on multi-socket systems

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

View file

@ -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