shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: Re: [Shorewall-users] launching arbitrary comma

Re: [Shorewall-users] launching arbitrary command after starting/stopping/... shorewall

From: Brad Clarke <brad_at_nospam>
Date: Sat Jan 14 2012 - 17:34:40 GMT
To: Shorewall Users <shorewall-users@lists.sourceforge.net>

On Sat, Jan 14, 2012 at 10:39 AM, Laurent CARON
<lcaron@unix-scripts.info> wrote:
> Hi,
>
> I'd like to know how possible it is to launch a particular command after
> shorewall has been started.
>
> In FIAIF it used to be: POST_START_SCRIPT[0]="/usr/bin/mycommand"
>
> I know it could be also shorewall start && /usr/bin/mycommand...but
> still I prefer the first approach.
>

http://shorewall.net/configuration_file_basics.htm#Files

I think /etc/shorewall/start will do what you need.

Brad C

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users