wsdd2: fix missing triggers 7111/head
authorAndy Walsh <andy.walsh44+github@gmail.com>
Thu, 27 Sep 2018 15:08:33 +0000 (17:08 +0200)
committerAndy Walsh <andy.walsh44+github@gmail.com>
Thu, 27 Sep 2018 15:08:33 +0000 (17:08 +0200)
* add triggers so changes can be picked up

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

index 7bda797c98a617a0f3bd6369d62ab404ee12d18d..9b921dae996226fad6f4eb4ed9097b51de11d841 100644 (file)
@@ -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
index b795d8e8ba5320c4722ac583f287b8876e812770..29272f94209e7777bd0435bfa8cae8acae0cd136 100644 (file)
@@ -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"
+}