Update power.sh

This commit is contained in:
Kroese 2024-02-06 03:25:13 +01:00 committed by GitHub
parent ecc009bab3
commit 8d62938ceb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,9 +29,9 @@ ready() {
if [ -f "$STORAGE/windows.old" ]; then
local last
local bios="Booting from Hard Disk..."
local bios="Booting from Hard Disk"
last=$(grep "^B.*" "$QEMU_PTY" | tail -1)
if [[ "${last,,}" == "${bios,,}" ]]; then
if [[ "${last,,}" == "${bios,,}"* ]]; then
return 0
fi
return 1