From 1485cb9b3361589df2ddc3ad16e5092fcf21efa7 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 Sep 2005 06:10:20 +0000 Subject: don't try to update shorewall configuration if it's disabled --- perl-install/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 42420c120..67dd579bf 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -607,7 +607,7 @@ sub configure_network { #- update interfaces list in shorewall require network::shorewall; my $shorewall = network::shorewall::read(); - $shorewall and network::shorewall::write($shorewall); + $shorewall && !$shorewall->{disabled} and network::shorewall::write($shorewall); } #- make net_applet reload the configuration -- cgit v1.2.1