Browse Source

wsdd2: fix missing triggers

* add triggers so changes can be picked up

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
lilik-openwrt-22.03
Andy Walsh 6 years ago
parent
commit
32fe219d6f
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      net/wsdd2/Makefile
  2. +5
    -0
      net/wsdd2/files/wsdd2.init

+ 1
- 1
net/wsdd2/Makefile View 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


+ 5
- 0
net/wsdd2/files/wsdd2.init View 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"
}

Loading…
Cancel
Save