Update boot.sh

This commit is contained in:
Kroese 2025-03-14 20:22:23 +01:00 committed by GitHub
parent 5dc0a95e79
commit 13c984a0fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,13 +3,10 @@ set -Eeuo pipefail
# Docker environment variables # Docker environment variables
: "${BIOS:=""}" # BIOS file : "${BIOS:=""}" # BIOS file
: "${SMM:="N"}" # Disable SMM : "${SECURE:="off"}" # Disable SMM
BOOT_DESC="" BOOT_DESC=""
BOOT_OPTS="" BOOT_OPTS=""
SECURE="off"
[[ "$SMM" == [Yy1]* ]] && SECURE="on"
[ -n "$BIOS" ] && BOOT_MODE="custom" [ -n "$BIOS" ] && BOOT_MODE="custom"
case "${BOOT_MODE,,}" in case "${BOOT_MODE,,}" in