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