[ previous ] [ next ] [ threads ]
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Ervin Malicdem <schadow1 at gmail dot com>
 Cc:  m0n0wall <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] php.core is driving me crazy
 Date:  Wed, 13 Sep 2006 19:20:39 +0200
On 14.09.06 00:47 +0800, Ervin Malicdem wrote:

> aside from etc folder where php.core is filling up, i have also
> found it to
> fill up at captiveportal folder as well. to remove it, use the
> command
> rm -f /usr/local/captiveportal/php.core
> Does anyone know how to automate the execution of these commands
> every 4-6 hours?

You can disable core dumps altogether by running the following
command through /exec.php:

sysctl kern.coredump=0

To automatically set this on boot, add it to your config.xml as a
<shellcmd> (see http://doc.m0n0.ch/handbook/faq-hiddenopts.html).

- Manuel