On Thu, Aug 21, 2014, at 03:46 PM, Tom Eastep wrote:
> You have to pay attention to variable names when you want code to run in
> the context of the generated script --
> http://www.shorewall.org/configuration_file_basics.htm#Variables.

Cleaned-up.

All instances of ${TC} changed to ${TC_BIN} to avoid collisions with protected 
var names "in shorewall.conf".

This

        "TC_BIN=run_tc"
        ${TC_BIN} ...

now execs without error in the context of the generated firewall derived from 
my lib.private script.

Thanks.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to