[ previous ] [ next ] [ threads ]
 
 From:  Chris Buechler <cbuechler at gmail dot com>
 To:  Paul Rae <PRae at aminocom dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] config.xml and shellcmd
 Date:  Fri, 11 Feb 2005 12:04:36 -0500
On Fri, 11 Feb 2005 10:47:29 -0500, Paul Rae <PRae at aminocom dot com> wrote:
> I want to have a couple of commands run after my box boots so im going to stick them in my
config.xml
> 
> Does it matter where they go - i was just going to stick them in at the end?
> 

Location does matter.  See the default file here, where the commented
out <shellcmd> is located.  http://m0n0.ch/wall/downloads/config.xml

You must put them between </webgui> and </system> like shown.  


> Any reason why the following wouldnt work?
> 
> <shellcmd>route delete default</shellcmd>
> <shellcmd>route add default -interface -link rl0</shellcmd>
> 

Should work fine.  

-Chris