Update power.sh

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

View file

@ -26,7 +26,7 @@ ready() {
[ -f "$STORAGE/windows.boot" ] && return 0 [ -f "$STORAGE/windows.boot" ] && return 0
[ ! -f "$QEMU_PTY" ] && return 1 [ ! -f "$QEMU_PTY" ] && return 1
if [ -f "$STORAGE/windows.old" ]; then if [ -f "$STORAGE/windows.old" ]; then
local last local last
local bios="Booting from Hard Disk..." local bios="Booting from Hard Disk..."
@ -40,7 +40,7 @@ ready() {
local line="Windows Boot Manager" local line="Windows Boot Manager"
if grep -Fq "$line" "$QEMU_PTY"; then if grep -Fq "$line" "$QEMU_PTY"; then
return 0 return 0
fi fi
return 1 return 1
} }