mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +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
|
||||
local last
|
||||
local bios="Booting from Hard Disk..."
|
||||
local bios="Booting from Hard Disk"
|
||||
last=$(grep "^B.*" "$QEMU_PTY" | tail -1)
|
||||
if [[ "${last,,}" == "${bios,,}" ]]; then
|
||||
if [[ "${last,,}" == "${bios,,}"* ]]; then
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue