[source] procd: support term_timeout parameter

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 26 01:03:21 PDT 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/2c5f16ecac58b0ea88afdccc6febe9d39f016a6e

commit 2c5f16ecac58b0ea88afdccc6febe9d39f016a6e
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jun 20 13:44:10 2017 +0200

    procd: support term_timeout parameter
    
    Expose "term_timeout" parameter in procd.sh to allow init scripts to
    request a longer termination timeout.
    
    This is required to fix FS#859 in a later commit.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/system/procd/Makefile       | 2 +-
 package/system/procd/files/procd.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index 8b987aa..5f4c3a6 100644
--- a/package/system/procd/Makefile
+++ b/package/system/procd/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=procd
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(LEDE_GIT)/project/procd.git
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 9fbf47e..00d754d 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -213,7 +213,7 @@ _procd_set_param() {
 			json_add_string "" "$@"
 			json_close_array
 		;;
-		nice)
+		nice|term_timeout)
 			json_add_int "$type" "$1"
 		;;
 		reload_signal)



More information about the lede-commits mailing list