From: Jo-Philipp Wich Date: Tue, 20 Jun 2017 11:44:10 +0000 (+0200) Subject: procd: support term_timeout parameter X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2c5f16ecac58b0ea88afdccc6febe9d39f016a6e;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index 8b987aabaf55..5f4c3a671337 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 9fbf47e602af..00d754d16ff0 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)