Browse Source
Merge pull request #11086 from michyprima/fix-ser2net
ser2net: fix rpcd reload
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
1 deletions
-
net/ser2net/Makefile
-
net/ser2net/files/ser2net.init
|
|
@ -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 |
|
|
|
|
|
@ -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" |
|
|
|
} |
|
|
|
|