summaryrefslogtreecommitdiffstats
path: root/src/etc
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:58 -0400
commit2e6a2bf5b63b2fb0cd45577772c370414b380617 (patch)
tree8d429b6902d20a623c0ac1d60407262e8a7c66c6 /src/etc
parentefd95df73d69dbb4bf30e39721678d9b813761e0 (diff)
downloadpfsense-2e6a2bf5b63b2fb0cd45577772c370414b380617.zip
pfsense-2e6a2bf5b63b2fb0cd45577772c370414b380617.tar.gz
Set kern.corefile, fixes #6510
Diffstat (limited to 'src/etc')
-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