surfer@emailengine.net
2014-Jul-27 17:35 UTC
executing a shorewalls script in lib.private from cmd line?
Reading
http://shorewall.net/shorewall_extension_scripts.htm
I'm installing a number of convenience scripts in
/lib.private
It's clear how they're referenced/invoked in the various shorewall
stages.
Is it possible to invoke a single script from the shorewall cmd line?
e.g., if
/lib.private
...
setup_sysctls() {
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
}
...
is there a shell cmd to effectively
shorewall 'EXEC a PRIVATE SCRIPT' setup_sysctls
?
------------------------------------------------------------------------------
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