From: Andy Walsh Date: Mon, 28 Jun 2021 16:06:03 +0000 (+0200) Subject: wsdd2: update to git 2021-06-28 (v1.8.5) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=584d37fb0c1ff4aee1772a3d18c8cb86190f43c5;p=feed%2Fpackages.git wsdd2: update to git 2021-06-28 (v1.8.5) * update to git 2021-06-28 (v1.8.5) * add extra startup delay Signed-off-by: Andy Walsh --- diff --git a/net/wsdd2/Makefile b/net/wsdd2/Makefile index e3aee93d08..87dafdd694 100644 --- a/net/wsdd2/Makefile +++ b/net/wsdd2/Makefile @@ -1,13 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wsdd2 -PKG_RELEASE:=1 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git -PKG_SOURCE_DATE:=2020-11-19 -PKG_SOURCE_VERSION:=e0cf50d5c125d60caaa9b957d058ea4348a8d200 -PKG_MIRROR_HASH:=6a09fed7974de3e9c6f87c0b2880c105a21ffaef965bd58d837d62ca58fe8f07 +PKG_SOURCE_DATE:=2021-06-28 +PKG_SOURCE_VERSION:=062a9542d4bad31f3a9c6f36c9d9ea53c01ebdf6 +PKG_MIRROR_HASH:=651662d165c63925f5932dc716beb4949aa03755ea04300bb7dfd5f186a8b69a PKG_MAINTAINER:=Andy Walsh PKG_LICENSE:=GPL-3.0-only diff --git a/net/wsdd2/files/wsdd2.init b/net/wsdd2/files/wsdd2.init index d86c658611..8ed5cf4d4b 100644 --- a/net/wsdd2/files/wsdd2.init +++ b/net/wsdd2/files/wsdd2.init @@ -13,6 +13,9 @@ start_service() { . /lib/functions/network.sh + # needs long delay, otherwise service may not register correctly on stratup/reboot (not sure what the issues is?) + sleep 5 + if [ -e /etc/ksmbd/smb.conf ] && [ -e /etc/init.d/ksmbd ] && /etc/init.d/ksmbd running; then SMB_CONF="/etc/ksmbd/smb.conf" fi @@ -84,6 +87,6 @@ start_service() { } service_triggers() { - PROCD_RELOAD_DELAY=1000 + # PROCD_RELOAD_DELAY=1000 procd_add_reload_trigger "dhcp" "system" "samba" "samba4" "ksmbd" }