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:24:03 -0400
commit4a304fbf40eaa1a5a77ae1360f87914989c1b8ef (patch)
treedc92523fe001c8bd68eca724bea20093fb2dde3f /src
parent19930c25bb1eb8c3213892c60b1543f21006c62a (diff)
downloadpfsense-4a304fbf40eaa1a5a77ae1360f87914989c1b8ef.zip
pfsense-4a304fbf40eaa1a5a77ae1360f87914989c1b8ef.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