mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 11:45:50 +00:00
Update power.sh
This commit is contained in:
parent
ecc009bab3
commit
8d62938ceb
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ ready() {
|
||||||
|
|
||||||
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"
|
||||||
last=$(grep "^B.*" "$QEMU_PTY" | tail -1)
|
last=$(grep "^B.*" "$QEMU_PTY" | tail -1)
|
||||||
if [[ "${last,,}" == "${bios,,}" ]]; then
|
if [[ "${last,,}" == "${bios,,}"* ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue