mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
Update power.sh
This commit is contained in:
parent
8b53d3c8b7
commit
ecc009bab3
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue