From ced2b641e2f19f3ce8bd6c21055dcf77dca5099a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 11 Sep 2015 16:35:17 +0000 Subject: base-files: set kernel.core_pattern in sysctl.conf Move the pattern setting from netifd's service script to /etc/sysctl.conf. Put the timestamp component '%t' just after executable name '%e' for more natural order from output of ls command. Signed-off-by: Yousong Zhou SVN-Revision: 46867 --- package/network/config/netifd/files/etc/init.d/network | 1 - 1 file changed, 1 deletion(-) (limited to 'package/network/config/netifd/files/etc/init.d') diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network index 542fc08958..bdadbbce6d 100755 --- a/package/network/config/netifd/files/etc/init.d/network +++ b/package/network/config/netifd/files/etc/init.d/network @@ -21,7 +21,6 @@ start_service() { procd_set_param watch network.interface [ -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 } -- cgit v1.2.3