summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-01 11:46:58 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-01 11:46:58 +0000
commit9c71b61d880fd6419d62a745d9a44318639bdfe8 (patch)
treeda4e9d5e4efc8953f7320bce696ad0e800b40d4f
parentd835bf9609a6eacc85760ebc0ec8f7790f5a001f (diff)
downloaddrakx-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar
drakx-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.gz
drakx-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.bz2
drakx-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.xz
drakx-9c71b61d880fd6419d62a745d9a44318639bdfe8.zip
update shorewall interfaces list when a new interface is detected (#21252)
-rwxr-xr-xperl-install/standalone/service_harddrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 17f46bcb2..6c24699ef 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -138,6 +138,9 @@ foreach my $hw_class (@harddrake::data::tree) {
require network::ethernet;
network::ethernet::configure_eth_aliases($modules_conf);
$modules_conf->write;
+ require network::shorewall;
+ my $shorewall = network::shorewall::read();
+ $shorewall && !$shorewall->{disabled} and network::shorewall::write($shorewall);
next;
} elsif (member($Ident, qw(ATA_STORAGE RAID_STORAGE SATA_STORAGE SCSI_CONTROLLER))) {
# set scsi_hostadapterr in modprobe.conf: