mirror of
https://github.com/dockur/windows.git
synced 2026-01-24 03:43:17 +00:00
feat: Added editions and mirrors (#439)
This commit is contained in:
15
src/power.sh
15
src/power.sh
@@ -23,6 +23,21 @@ _trap() {
|
||||
done
|
||||
}
|
||||
|
||||
boot() {
|
||||
|
||||
[ -f "$QEMU_END" ] && return 0
|
||||
|
||||
if [ -s "$QEMU_PTY" ]; then
|
||||
if grep -iq " hard" "$QEMU_PTY"; then
|
||||
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
error "Timeout while waiting for QEMU to boot the machine!"
|
||||
return 0
|
||||
}
|
||||
|
||||
ready() {
|
||||
|
||||
[ -f "$STORAGE/windows.boot" ] && return 0
|
||||
|
||||
Reference in New Issue
Block a user