aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 16:35:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 16:35:17 +0000
commitced2b641e2f19f3ce8bd6c21055dcf77dca5099a (patch)
tree94bfafe5f7ebe87a18b830e46c2bf108a55effed /package/network
parent9b3b58b3806b020066f8e853491e0f95c0311e72 (diff)
downloadupstream-ced2b641e2f19f3ce8bd6c21055dcf77dca5099a.tar.gz
upstream-ced2b641e2f19f3ce8bd6c21055dcf77dca5099a.tar.bz2
upstream-ced2b641e2f19f3ce8bd6c21055dcf77dca5099a.zip
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 <yszhou4tech@gmail.com> SVN-Revision: 46867
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/config/netifd/files/etc/init.d/network1
1 files changed, 0 insertions, 1 deletions
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
}