[ previous ] [ next ] [ threads ]
 
 From:  "Lee Sharp" <leesharp at hal dash pc dot org>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] Problem
 Date:  Mon, 8 Jan 2007 01:27:07 -0600
From: "Naveen" <naveen at palettemm dot com>

> Is there any way to set "sysctl kern.coredump=0" for permanent?
>
> Regards
> Naveen

You need to back up your config.  Then open up the .xml with wordpad.  Make 
the beginning look like mine.  (With your names, of course)  Then restore 
the changed config.  It is then done on each reboot.  Note that the order on 
your config may be different, and stuff may be missing or added.  It does 
not matter as long as "<shellcmd>sysctl kern.coredump=0</shellcmd>" is 
somewhere in <system>.

    <system>
        <hostname>fw-quinta-wood</hostname>
        <domain>dnsalias.net</domain>
        <dnsallowoverride/>
        <username>admin</username>
        <password>xxxxx</password>
        <timezone>America/Chicago</timezone>
        <time-update-interval>300</time-update-interval>
        <timeservers>us.pool.ntp.org</timeservers>
        <webgui>
            <protocol>https</protocol>
            <port/>
            <certificate/>
            <private-key/>
            <expanddiags/>
        </webgui>
        <shellcmd>sysctl kern.coredump=0</shellcmd>
        <harddiskstandby/>
        <dnsserver>198.6.1.1</dnsserver>
        <dnsserver>4.2.2.2</dnsserver>
       
<notes>TGEgUXVpbnRhDQoyNDg2OCBJLTQ1IE4uIChSYXlmb3JkIFNhd2R1c3QgZXhpdCkNCldvb2RsYW5kcywgVFggNzczODYNCjI4MS02ODEtOTE4OA0KDQpQUFBvRSBsYXF1aW50YTQ1QHNiY2dsb2JhbC5uZXQgIGpLSDYwNCAyODItMjkyLTcwMTcNCg0KMTkyLjE2OC42MC4yMCBSbSAyMjENCjE5Mi4xNjguNjAuMjEgUm0gMjA4DQoxOTIuMTY4LjYwLjIyIFJtIDIxNQ0KMTkyLjE2OC42MC4yMiBSbSAyMzM=</notes>
    </system>