wsdd2: update to git 2021-06-28 (v1.8.5) 15991/head
authorAndy Walsh <andy.walsh44+github@gmail.com>
Mon, 28 Jun 2021 16:06:03 +0000 (18:06 +0200)
committerAndy Walsh <andy.walsh44+github@gmail.com>
Mon, 28 Jun 2021 16:06:03 +0000 (18:06 +0200)
* update to git 2021-06-28 (v1.8.5)
* add extra startup delay

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
net/wsdd2/Makefile
net/wsdd2/files/wsdd2.init

index e3aee93d081bc3844f6801f43358f8e5a8eaeaa6..87dafdd694e7adfa6ab29c1a06b247cf6b61dc1d 100644 (file)
@@ -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 <andy.walsh44+github@gmail.com>
 PKG_LICENSE:=GPL-3.0-only
index d86c658611eef7f0925e34112aa8505b60ae8ce1..8ed5cf4d4b51581eb893216170462861fbca852e 100644 (file)
@@ -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"
 }