Browse Source

ser2net: fix rpcd reload

ser2net did not get restarted after saving in uci or luci

Signed-off-by: Michele Primavera <primavera@elmod.it>
lilik-openwrt-22.03
Michele Primavera 5 years ago
parent
commit
8299fac7ab
2 changed files with 7 additions and 1 deletions
  1. +1
    -1
      net/ser2net/Makefile
  2. +6
    -0
      net/ser2net/files/ser2net.init

+ 1
- 1
net/ser2net/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ser2net
PKG_VERSION:=3.5.1
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ser2net


+ 6
- 0
net/ser2net/files/ser2net.init View File

@ -182,5 +182,11 @@ start_service() {
procd_open_instance
procd_set_param command "$PROG" -n -c "$DYNAMICCFGFILE"
procd_set_param file "$DYNAMICCFGFILE"
procd_close_instance
}
service_triggers() {
procd_add_reload_trigger "ser2net"
}

Loading…
Cancel
Save