diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-01 13:31:24 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-01 13:31:24 +0000 |
commit | 3fb10f33d63c9c9c291f457900dbf36ca278a3ff (patch) | |
tree | b0752832ed212f425aee85921809a500eaee5f57 | |
parent | 277abd754b4024a765293406434728f8ff26bc51 (diff) | |
download | drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.gz drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.bz2 drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.tar.xz drakx-3fb10f33d63c9c9c291f457900dbf36ca278a3ff.zip |
use network::shorewall::update_interfaces_list()
-rw-r--r-- | perl-install/network/network.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index a5eb3911d..45c5dc2ee 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -613,10 +613,8 @@ sub configure_network { any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %{$net->{ifcfg}} and $in->do_pkgs->install('pump'); - #- update interfaces list in shorewall require network::shorewall; - my $shorewall = network::shorewall::read(); - $shorewall && !$shorewall->{disabled} and network::shorewall::write($shorewall); + network::shorewall::update_interfaces_list(); $net->{network}{HOSTNAME} && !$::isInstall and sethostname($net); } |