mirror of
https://github.com/dockur/windows.git
synced 2025-06-25 08:57:47 +00:00
Merge 6118cc2351
into 50f6467dea
This commit is contained in:
commit
c268296860
@ -10,7 +10,7 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true"
|
|||||||
RUN set -eu && \
|
RUN set -eu && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get --no-install-recommends -y install \
|
apt-get --no-install-recommends -y install \
|
||||||
wsdd \
|
wsdd2 \
|
||||||
samba \
|
samba \
|
||||||
wimtools \
|
wimtools \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
|
@ -104,8 +104,7 @@ finish() {
|
|||||||
pid="/var/run/tpm.pid"
|
pid="/var/run/tpm.pid"
|
||||||
[ -s "$pid" ] && pKill "$(<"$pid")"
|
[ -s "$pid" ] && pKill "$(<"$pid")"
|
||||||
|
|
||||||
pid="/var/run/wsdd.pid"
|
fKill "wsdd2"
|
||||||
[ -s "$pid" ] && pKill "$(<"$pid")"
|
|
||||||
|
|
||||||
fKill "smbd"
|
fKill "smbd"
|
||||||
|
|
||||||
|
@ -129,8 +129,7 @@ if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Enable Web Service Discovery on Vista and up
|
# Enable Web Service Discovery on Vista and up
|
||||||
wsdd -i "$interface" -p -n "$hostname" &
|
(sleep 30; wsdd2 -i "$interface" -N "$hostname" -d) &
|
||||||
echo "$!" > /var/run/wsdd.pid
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user