mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Add shared network folder (#157)
This commit is contained in:
parent
42a5295306
commit
4e9ac3ef37
5 changed files with 78 additions and 3 deletions
|
|
@ -29,8 +29,8 @@ ready() {
|
|||
|
||||
if [ -f "$STORAGE/windows.old" ]; then
|
||||
local last
|
||||
local bios="Booting from Hard Disk"
|
||||
last=$(grep "^B.*" "$QEMU_PTY" | tail -1)
|
||||
local bios="Booting from Hard"
|
||||
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
||||
if [[ "${last,,}" == "${bios,,}"* ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
|
@ -74,6 +74,9 @@ finish() {
|
|||
pid="/var/run/tpm.pid"
|
||||
[ -f "$pid" ] && pKill "$(<"$pid")"
|
||||
|
||||
fKill "wsdd"
|
||||
fKill "smbd"
|
||||
|
||||
closeNetwork
|
||||
|
||||
sleep 0.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue