mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
fix: Legacy bootmode
This commit is contained in:
parent
46eacd7d31
commit
607a8c7f5b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ ready() {
|
||||||
[ -f "$STORAGE/windows.boot" ] && return 0
|
[ -f "$STORAGE/windows.boot" ] && return 0
|
||||||
[ ! -s "$QEMU_PTY" ] && return 1
|
[ ! -s "$QEMU_PTY" ] && return 1
|
||||||
|
|
||||||
if [ -f "$STORAGE/windows.old" ]; then
|
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
|
||||||
local last
|
local last
|
||||||
local bios="Booting from Hard"
|
local bios="Booting from Hard"
|
||||||
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue