feat: Disable S3 and S4 standby modes (#434)

This commit is contained in:
Kroese 2024-04-27 18:46:09 +02:00 committed by GitHub
parent 80ae80ae10
commit 3390ef8101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 47 additions and 32 deletions

View file

@ -28,7 +28,7 @@ ready() {
[ -f "$STORAGE/windows.boot" ] && return 0
[ ! -s "$QEMU_PTY" ] && return 1
if [ -f "$STORAGE/windows.old" ]; then
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
local last
local bios="Booting from Hard"
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)