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/network/config/netifd | |
parent | 0ef939c93b2335491935f2dda36fba763df4cf98 (diff) | |
download | upstream-31a2912cd9b8bf56a69ededeb0843136225a6117.tar.gz upstream-31a2912cd9b8bf56a69ededeb0843136225a6117.tar.bz2 upstream-31a2912cd9b8bf56a69ededeb0843136225a6117.zip |
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/network/config/netifd')
-rwxr-xr-x | package/network/config/netifd/files/etc/init.d/network | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 387fdbe5dd..9427a86357 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -6,13 +6,13 @@ STOP=90 USE_PROCD=1 start_service() { - [ -e /proc/sys/kernel/core_pattern ] && { - ulimit -c unlimited - echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern - } procd_open_instance procd_set_param command /sbin/netifd procd_set_param respawn + [ -e /proc/sys/kernel/core_pattern ] && { + procd_set_param limits core="unlimited" + echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern + } procd_close_instance } |