From 3ac73fa18b5caeea700fbcfa9ad846842fcada13 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Sat, 10 Jul 2021 21:11:11 +0200 Subject: [PATCH] wsdd2: update to git 2021-06-28 * update to git 2021-06-28 * add extra startup delay Signed-off-by: Andy Walsh --- net/wsdd2/Makefile | 8 ++++---- net/wsdd2/files/wsdd2.init | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) 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" } -- 2.30.2