From: Andy Walsh Date: Thu, 27 Sep 2018 15:08:33 +0000 (+0200) Subject: wsdd2: fix missing triggers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F7111%2Fhead;p=feed%2Fpackages.git wsdd2: fix missing triggers * add triggers so changes can be picked up Signed-off-by: Andy Walsh --- diff --git a/net/wsdd2/Makefile b/net/wsdd2/Makefile index 7bda797c98..9b921dae99 100644 --- a/net/wsdd2/Makefile +++ b/net/wsdd2/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wsdd2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git diff --git a/net/wsdd2/files/wsdd2.init b/net/wsdd2/files/wsdd2.init index b795d8e8ba..29272f9420 100644 --- a/net/wsdd2/files/wsdd2.init +++ b/net/wsdd2/files/wsdd2.init @@ -10,3 +10,8 @@ start_service() { procd_set_param file /var/etc/smb.conf procd_close_instance } + +service_triggers() { + PROCD_RELOAD_DELAY=3000 + procd_add_reload_trigger "dhcp" "system" "samba4" +}