From 1c2c8c5e14df112ba090ea6ae1c36919c6c023ff Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 5 Feb 2024 20:52:56 +0100 Subject: [PATCH] feat: Detect Windows Boot Manager (#5) --- src/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/power.sh b/src/power.sh index 88c41cb..ca0442c 100644 --- a/src/power.sh +++ b/src/power.sh @@ -119,7 +119,7 @@ _graceful_shutdown() { local remove_iso="" if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then - if grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then + if grep -Fq "starting Boot0002" "$QEMU_PTY"; then [ -f "$STORAGE/$BASE" ] && remove_iso="y" else info "Cannot send ACPI signal during Windows setup, aborting..."