On 5/22/11 1:31 PM, Tom Eastep wrote:
> On 5/22/11 9:48 AM, Tom Eastep wrote:
>>
>> On May 22, 2011, at 3:44 AM, Ed W wrote:
> 
>>> Does that make sense?
>>
>> Yes -- attached is a similar patch that avoids all of the manipulation of 
>> RESTOREFILE.
>>
> 
> After applying the patch, the body of the added function needs to be
> modified as follows:
> 
> #
> # Determine if there are config files newer than the passed object but 
> #
> uptodate() {
>     [ -f $1 ] && [ -z "$(find ${CONFDIR} -newer $1)" ]
> }

Also notice that I corrected the name of the function. I only tested the
Shorewall6 patch before posting it; obviously I should have tested
Shorewall too.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to