Rename USE_LOCAL_MODULES to EXPORTMODULES

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-02-06 08:42:35 -08:00
parent 44f7a4daf3
commit 2c2fdab0fe
15 changed files with 18 additions and 18 deletions

View File

@ -194,7 +194,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=Yes
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -205,7 +205,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -205,7 +205,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -212,7 +212,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -157,7 +157,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=Yes
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -159,7 +159,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
##############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -159,7 +159,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -159,7 +159,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -336,10 +336,10 @@ sub generate_script_3($) {
save_progress_message 'Initializing...';
if ( $export || $config{USE_LOCAL_MODULES} ) {
if ( $export || $config{EXPORTMODULES} ) {
my $fn = find_file( $config{LOAD_HELPERS_ONLY} ? 'helpers' : 'modules' );
if ( -f $fn && ( $config{USE_LOCAL_MODULES} || ( $export && ! $fn =~ "^$globals{SHAREDIR}/" ) ) ) {
if ( -f $fn && ( $config{EXPORTMODULES} || ( $export && ! $fn =~ "^$globals{SHAREDIR}/" ) ) ) {
emit 'echo MODULESDIR="$MODULESDIR" > ${VARDIR}/.modulesdir';
emit 'cat > ${VARDIR}/.modules << EOF';
open_file $fn;

View File

@ -484,7 +484,7 @@ sub initialize( $ ) {
REQUIRE_INTERFACE => undef,
FORWARD_CLEAR_MARK => undef,
COMPLETE => undef,
USE_LOCAL_MODULES => undef,
EXPORTMODULES => undef,
#
# Packet Disposition
#
@ -3221,7 +3221,7 @@ sub get_configuration( $ ) {
default_yes_no 'REQUIRE_INTERFACE' , '';
default_yes_no 'FORWARD_CLEAR_MARK' , have_capability 'MARK' ? 'Yes' : '';
default_yes_no 'COMPLETE' , '';
default_yes_no 'USE_LOCAL_MODULES' , '';
default_yes_no 'EXPORTMODULES' , '';
require_capability 'MARK' , 'FOREWARD_CLEAR_MARK=Yes', 's', if $config{FORWARD_CLEAR_MARK};

View File

@ -194,7 +194,7 @@ FORWARD_CLEAR_MARK=
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -157,7 +157,7 @@ FORWARD_CLEAR_MARK=Yes
COMPLETE=No
USE_LOCAL_MODULES=Yes
EXPORTMODULES=Yes
###############################################################################
# P A C K E T D I S P O S I T I O N

View File

@ -444,8 +444,8 @@ clean:
(<filename>modules</filename> or <filename>helpers</filename>) in the
firewall's configuration directory before compilation.</para>
<para>In Shorewall 4.4.17, the USE_LOCAL_MODULES option was added to
shorewall.conf (and shorewall6.conf). When USE_LOCAL_MODULES=Yes, any
<para>In Shorewall 4.4.17, the EXPORTMODULES option was added to
shorewall.conf (and shorewall6.conf). When EXPORTMODULES=Yes, any
<filename>modules</filename> or <filename>helpers</filename> file
found on the CONFIG_PATH on the Administrative System during
compilation will be used.</para>

View File

@ -1846,7 +1846,7 @@ net all DROP info</programlisting>then the chain name is 'net2all'
</varlistentry>
<varlistentry>
<term><emphasis role="bold">USE_LOCAL_MODULES=</emphasis>[<emphasis
<term><emphasis role="bold">EXPORTMODULES=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>

View File

@ -1493,7 +1493,7 @@ net all DROP info</programlisting>then the chain name is 'net2all'
</varlistentry>
<varlistentry>
<term><emphasis role="bold">USE_LOCAL_MODULES=</emphasis>[<emphasis
<term><emphasis role="bold">EXPORTMODULES=</emphasis>[<emphasis
role="bold">Yes</emphasis>|<emphasis role="bold">No</emphasis>]</term>
<listitem>