diff --git a/src/power.sh b/src/power.sh index 21a1bc8..4280441 100644 --- a/src/power.sh +++ b/src/power.sh @@ -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