mirror of
https://github.com/dockur/windows-arm.git
synced 2024-08-27 00:31:39 +00:00
feat: Detect Windows Boot Manager (#5)
This commit is contained in:
parent
bb4c678a5a
commit
1c2c8c5e14
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ _graceful_shutdown() {
|
||||||
local remove_iso=""
|
local remove_iso=""
|
||||||
|
|
||||||
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then
|
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"
|
[ -f "$STORAGE/$BASE" ] && remove_iso="y"
|
||||||
else
|
else
|
||||||
info "Cannot send ACPI signal during Windows setup, aborting..."
|
info "Cannot send ACPI signal during Windows setup, aborting..."
|
||||||
|
|
Loading…
Reference in a new issue