Tom Eastep wrote: > JC Janos wrote: >> Tom, >> >> On Sun, Nov 9, 2008 at 12:43 PM, Tom Eastep <[EMAIL PROTECTED]> wrote: >>> But I suspect that your requirements could be met by using shell >>> variables and doing some simple shell scripting in /etc/shorewall/params. >> I figured that /etc/shorewall/params would be the right place. I'm >> not sure which is "better" for me in this case -- SHELL or PERL. >> >> I'd guess SHELL is easier, at first, but that PERL is something I';ll >> likely have the opportunity to use more later in ShoreWall. > > The thing about /etc/shorewall/params is that it is processed natively > by the shell. So it is basically a shell program that is run to set up > the ENV for the Shorewall-perl (or Shorewall-shell) compiler.
And the [ BEGIN ] PERL construct isn't available in /etc/shorewall/params. -Tom -- Tom Eastep \ The ultimate result of shielding men from the Shoreline, \ effects of folly is to fill the world with fools. Washington, USA \ -Herbert Spencer http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
