mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Improved installation (#453)
This commit is contained in:
parent
63c6fc0808
commit
0616eb3447
10 changed files with 955 additions and 613 deletions
|
|
@ -28,7 +28,7 @@ boot() {
|
|||
[ -f "$QEMU_END" ] && return 0
|
||||
|
||||
if [ -s "$QEMU_PTY" ]; then
|
||||
if grep -iq " hard" "$QEMU_PTY"; then
|
||||
if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
|
||||
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
|
||||
return 0
|
||||
fi
|
||||
|
|
@ -93,7 +93,9 @@ finish() {
|
|||
pid="/var/run/tpm.pid"
|
||||
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||
|
||||
fKill "wsdd"
|
||||
pid="/var/run/wsdd.pid"
|
||||
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||
|
||||
fKill "smbd"
|
||||
|
||||
closeNetwork
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue