From 32fe219d6fac9d10225ba2a9b34a9b7ade0a3181 Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Thu, 27 Sep 2018 17:08:33 +0200 Subject: [PATCH] wsdd2: fix missing triggers * add triggers so changes can be picked up Signed-off-by: Andy Walsh --- net/wsdd2/Makefile | 2 +- net/wsdd2/files/wsdd2.init | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/net/wsdd2/Makefile b/net/wsdd2/Makefile index 7bda797c9..9b921dae9 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 b795d8e8b..29272f942 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" +}