diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-15 05:36:39 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-15 05:36:39 +0000 |
commit | b60ecb647026156da5d432f1bc75470ad7da0c67 (patch) | |
tree | 33dd979df63ca2342d1c3fba6c1fa502915dd1d3 /perl-install/network/network.pm | |
parent | ff491e22b7d1ff200208507333fa647dbf3fee35 (diff) | |
download | drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.gz drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.bz2 drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.tar.xz drakx-b60ecb647026156da5d432f1bc75470ad7da0c67.zip |
drakconnect: update interfaces list in shorewall
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r-- | perl-install/network/network.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index f9f0bd915..42420c120 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -603,6 +603,11 @@ sub configure_network { write_zeroconf($net, $in); 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 and network::shorewall::write($shorewall); } #- make net_applet reload the configuration |