This commit is contained in:
m][sko 2025-06-18 20:25:58 +00:00 committed by GitHub
commit c268296860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View File

@ -10,7 +10,7 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true"
RUN set -eu && \
apt-get update && \
apt-get --no-install-recommends -y install \
wsdd \
wsdd2 \
samba \
wimtools \
dos2unix \

View File

@ -104,8 +104,7 @@ finish() {
pid="/var/run/tpm.pid"
[ -s "$pid" ] && pKill "$(<"$pid")"
pid="/var/run/wsdd.pid"
[ -s "$pid" ] && pKill "$(<"$pid")"
fKill "wsdd2"
fKill "smbd"

View File

@ -129,8 +129,7 @@ if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
fi
else
# Enable Web Service Discovery on Vista and up
wsdd -i "$interface" -p -n "$hostname" &
echo "$!" > /var/run/wsdd.pid
(sleep 30; wsdd2 -i "$interface" -N "$hostname" -d) &
fi
return 0