Skip to content
Snippets Groups Projects
Commit ced2b641 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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: default avatarYousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 46867
parent 9b3b58b3
No related branches found
No related tags found
No related merge requests found
kernel.panic=3
kernel.core.pattern=/tmp/%e.%t.%p.%s.core
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
......
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment