mirror of
https://github.com/dockur/windows.git
synced 2026-01-24 11:53:14 +00:00
feat: Add shared network folder (#157)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user