diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:35:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:35:17 +0000 |
commit | 9c9669230f0172fde973f8b75267251e70567369 (patch) | |
tree | 3e140a3e4916b7dcd0ed83350973bf1c2a3c1157 /package/network | |
parent | cc1026770b1e0a779fb6c360029b03627e62af63 (diff) | |
download | master-187ad058-9c9669230f0172fde973f8b75267251e70567369.tar.gz master-187ad058-9c9669230f0172fde973f8b75267251e70567369.tar.bz2 master-187ad058-9c9669230f0172fde973f8b75267251e70567369.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46867 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/config/netifd/files/etc/init.d/network | 1 |
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 } |