summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-06-21 11:23:19 -0400
committerjim-p <jimp@pfsense.org>2016-06-21 11:23:36 -0400
commita08208f81bcb2812bdda07e21b501447fb350408 (patch)
tree720bbc20c5974f208f7905054d6a37484cfc9c85 /src
parent91039db4eb50b79a49ad8f02d66dfa006d7508ba (diff)
downloadpfsense-a08208f81bcb2812bdda07e21b501447fb350408.zip
pfsense-a08208f81bcb2812bdda07e21b501447fb350408.tar.gz
Set kern.corefile, fixes #6510
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/globals.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
index 221df9e..1f351f4 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -209,7 +209,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"net.raw.recvspace" => 65536,
"net.raw.sendspace" => 65536,
"net.inet.raw.recvspace" => 131072,
- "net.inet.raw.maxdgram" => 131072
+ "net.inet.raw.maxdgram" => 131072,
+ "kern.corefile" => "/root/%N.core" /* Write all core files to /root/ so they do not consume space on other slices */
);
/* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */
OpenPOWER on IntegriCloud