diff options
author | John Crispin <john@openwrt.org> | 2013-12-09 17:29:34 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-12-09 17:29:34 +0000 |
commit | 31a2912cd9b8bf56a69ededeb0843136225a6117 (patch) | |
tree | b464bf86b15d93f5b30a89a1a8e84e782ac3befd /package/system/procd | |
parent | 0ef939c93b2335491935f2dda36fba763df4cf98 (diff) | |
download | mtk-20170518-31a2912cd9b8bf56a69ededeb0843136225a6117.zip mtk-20170518-31a2912cd9b8bf56a69ededeb0843136225a6117.tar.gz mtk-20170518-31a2912cd9b8bf56a69ededeb0843136225a6117.tar.bz2 |
netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
Diffstat (limited to 'package/system/procd')
-rw-r--r-- | package/system/procd/files/procd.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 2f97a5d..73beaaf 100644 --- a/package/system/procd/files/procd.sh +++ b/package/system/procd/files/procd.sh @@ -17,6 +17,7 @@ # data: arbitrary name/value pairs for detecting config changes (table) # file: configuration files (array) # netdev: bound network device (detects ifindex changes) +# limits: resource limits (passed to the process) # # No space separation is done for arrays/tables - use one function argument per command line argument # @@ -123,7 +124,7 @@ _procd_set_param() { local type="$1"; shift case "$type" in - env|data) + env|data|limits) _procd_add_table "$type" "$@" ;; command|netdev|file|respawn) @@ -177,7 +178,7 @@ _procd_append_param() { json_select "$type" case "$type" in - env|data) + env|data|limits) _procd_add_table_data "$@" ;; command|netdev|file|respawn) |