mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Disable S3 and S4 standby modes (#434)
This commit is contained in:
parent
80ae80ae10
commit
3390ef8101
5 changed files with 47 additions and 32 deletions
|
|
@ -28,7 +28,7 @@ ready() {
|
|||
[ -f "$STORAGE/windows.boot" ] && return 0
|
||||
[ ! -s "$QEMU_PTY" ] && return 1
|
||||
|
||||
if [ -f "$STORAGE/windows.old" ]; then
|
||||
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
|
||||
local last
|
||||
local bios="Booting from Hard"
|
||||
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue