> ________________________________
> From: Tom Eastep <[email protected]>
> To: [email protected]
> Sent: Monday, January 20, 2014 4:31 PM
> Subject: Re: [Shorewall-users] conditional in params
>
> 'params' may, of course, use any of the shell's conditionals ('if
> ....;
> then...fi', etc).
So I guess my params file can contain something like this:
INCLUDE /opt/firewall_data/params.TYPE
if [ ${#FW_TYPE} -gt 0 ]; then
[... do something ...]
fi
#LAST LINE -- DO NOT REMOVE
At first glance it seems to be working as expected.
Thanks!
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users