On 7/27/2014 11:32 AM, [email protected] wrote:
>> Shorewall actually has features to set most of the important entries in 
>> /proc/sys/net.
> 
> My question's not about setting /proc/sys/net -- It was simply an example for 
> this post's actual question ...
> 
> Consider this instead
> 
>       /lib.private
>               do_something() {
>                               echo "blah"
>                       }
> 
>>  But you can also use any of the extension scripts
>> (http://www.shorewall.org/shorewall_extension_scripts.htm)
> 
> Right.  That's the link I"d referenced
> 
>       > Reading
>       >
>       >       http://shorewall.net/shorewall_extension_scripts.htm
> 
> What am I missing there?
> 
> I can see
> 
> "lib.private -- Intended to contain declarations of shell functions to be 
> called by other run-time extension scripts. See this article for an example 
> of its use."
> 
> and also checking the referenced article @ 
> http://www.shorewall.org/MultiISP.html#lsm
> 
> I don't see how I'd execute JUST 'do_something' from a shorewall cmd line?

You mean that you want to do something like 'shorewall run foo'?


-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

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to