Update boot.sh
This commit is contained in:
parent
5dc0a95e79
commit
13c984a0fc
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue