Update power.sh

This commit is contained in:
Kroese 2024-02-07 22:54:52 +01:00 committed by GitHub
parent e14ba2f5af
commit b5c2559783
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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