From 33bbf74055639e025e141ca0fcb28cc71f1ef544 Mon Sep 17 00:00:00 2001 From: Michal Lazo Date: Tue, 17 Jun 2025 22:37:57 +0200 Subject: [PATCH] fix: update to wsdd2 --- Dockerfile | 2 +- src/samba.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f48df31..56f210a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/src/samba.sh b/src/samba.sh index 10960b3..43a83b8 100644 --- a/src/samba.sh +++ b/src/samba.sh @@ -129,7 +129,7 @@ if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then fi else # Enable Web Service Discovery on Vista and up - wsdd -i "$interface" -p -n "$hostname" & + wsdd2 -i "$interface" -H "$hostname" -N "$hostname" & echo "$!" > /var/run/wsdd.pid fi