aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/procd.sh
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-12-09 17:29:34 +0000
committerJohn Crispin <blogic@openwrt.org>2013-12-09 17:29:34 +0000
commitdba219f7c9b78ed62338a0331a198ed58bff8097 (patch)
treef137417185643bb329a600075b59c335545c7038 /package/system/procd/files/procd.sh
parentc1cf0505c4a634e044919e71b1c7a028385d0a25 (diff)
downloadmaster-187ad058-dba219f7c9b78ed62338a0331a198ed58bff8097.tar.gz
master-187ad058-dba219f7c9b78ed62338a0331a198ed58bff8097.tar.bz2
master-187ad058-dba219f7c9b78ed62338a0331a198ed58bff8097.zip
netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/procd/files/procd.sh')
-rw-r--r--package/system/procd/files/procd.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 2f97a5d7d2..73beaaf6b2 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)