On 8/6/2017 10:45 PM, Tom Eastep wrote:
> On 08/06/2017 12:14 PM, Matt Darfeuille wrote:
>> Hi,
>>
>> According to:
>>
>> http://shorewall.org/shorewall_extension_scripts.htm
>>
>> the value of 'SHAREDIR' and 'CONFDIR' are usable in extension script.
>>
>> If I put for example the following lines in /etc/shorewall/start:
>>
>> $SHAREDIR/wait4ifup
>> $CONFDIR/$PRODUCT.conf
> 
> PRODUCT is not exported to the generated script. The variable in the
> script is 'g_product'. Also note that $SHAREDIR expands to /usr/share
> and not to /usr/share/<product>.
> 

The article should reflect that (patch send with 'git send-email') :p

>>
>> I get the following:
>>
>> "Processing /etc/shorewall/start ...
>> /var/lib/shorewall/.restart: 1900: /var/lib/shorewall/.restart:
>> /wait4ifup: not found
>> /var/lib/shorewall/.restart: 1901: /var/lib/shorewall/.restart: /.conf:
>> not found
>> done."
>>
>> Is it a regression or is it deprecated?
> 
> It's an apparent regression. I just pushed a fix.
> 

Working -- Thanks for Shorewall and the docs they are very useful!

-Matt
-- 
Matt Darfeuille

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to