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
8a940b6e33
commit
3bf41d9172
1 changed files with 4 additions and 2 deletions
|
|
@ -121,8 +121,10 @@ _graceful_shutdown() {
|
|||
info "Cannot send ACPI signal during Windows setup, aborting..."
|
||||
finish "$code" && return "$code"
|
||||
else
|
||||
[ -n "$BASE" ] && rm -f "$STORAGE/$BASE"
|
||||
touch "$STORAGE/windows.boot"
|
||||
if [ -f "$STORAGE/$BASE" ]; then
|
||||
rm -f "$STORAGE/$BASE"
|
||||
touch "$STORAGE/windows.boot"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue