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
440be5bd0c
commit
6eb808f217
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ _graceful_shutdown() {
|
||||||
|
|
||||||
local remove_iso=""
|
local remove_iso=""
|
||||||
|
|
||||||
if [ ! -f "$STORAGE/windows.bios" ]; then
|
if [ ! -f "$STORAGE/windows.old" ]; then
|
||||||
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then
|
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then
|
||||||
if grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then
|
if grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then
|
||||||
[ -f "$STORAGE/$BASE" ] && remove_iso="y"
|
[ -f "$STORAGE/$BASE" ] && remove_iso="y"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue