mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
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/";
|
||||||
|
|
||||||
@ -800,7 +799,6 @@ sub initialize( $;$ ) {
|
|||||||
$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…
x
Reference in New Issue
Block a user