summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-15 06:10:20 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-15 06:10:20 +0000
commit1485cb9b3361589df2ddc3ad16e5092fcf21efa7 (patch)
treece7b9d07159baf12b3f1679da41943338e94769e /perl-install/network
parentb60ecb647026156da5d432f1bc75470ad7da0c67 (diff)
downloaddrakx-1485cb9b3361589df2ddc3ad16e5092fcf21efa7.tar
drakx-1485cb9b3361589df2ddc3ad16e5092fcf21efa7.tar.gz
drakx-1485cb9b3361589df2ddc3ad16e5092fcf21efa7.tar.bz2
drakx-1485cb9b3361589df2ddc3ad16e5092fcf21efa7.tar.xz
drakx-1485cb9b3361589df2ddc3ad16e5092fcf21efa7.zip
don't try to update shorewall configuration if it's disabled
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
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