forked from extern/shorewall_code
Handle default shorewallrc location
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5d7442e9e9
commit
fd1d6cf935
@ -782,8 +782,7 @@ sub initialize( $;$ ) {
|
|||||||
CONFDIR => '/etc/',
|
CONFDIR => '/etc/',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $shorewallrc ) {
|
process_shorewallrc( $shorewallrc ) if $shorewallrc;
|
||||||
process_shorewallrc( $shorewallrc );
|
|
||||||
|
|
||||||
$globals{SHAREDIRPL} = "$shorewallrc{SHAREDIR}/shorewall/";
|
$globals{SHAREDIRPL} = "$shorewallrc{SHAREDIR}/shorewall/";
|
||||||
|
|
||||||
@ -799,7 +798,6 @@ sub initialize( $;$ ) {
|
|||||||
$globals{PRODUCT} = 'shorewall6';
|
$globals{PRODUCT} = 'shorewall6';
|
||||||
$config{IP6TABLES} = undef;
|
$config{IP6TABLES} = undef;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
my @abbr = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
|
my @abbr = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
|
||||||
|
Loading…
Reference in New Issue
Block a user