On 12/15/2014 7:18 AM, PGNd wrote:
> On Mon, Dec 8, 2014, at 03:20 PM, PGNd wrote:
>>      Running /usr/local/etc/shorewall/initdone...
>>         ERROR: Couldn't parse /usr/local/etc/shorewall/initdone: Bareword 
>> "setup_intfc_external_loc030" not allowed while "strict subs" in use at 
>> /usr/local/etc/shorewall/initdone line 14.
>>      ...
>>
>> why is that function OK in 'start', but not in 'initdone'?
>>
>> bug, or something else?
> 
> Re-reading docs, I'm either studiously missing a doc that says you CAN'T use 
> functions like this in initdone, or there's a problem -- with either my 
> config or code.

'initdone' is a compile-time script and must therefore be written in
Perl. 'start' is a run-time script and is hence processed by the shell.

-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

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to