summaryrefslogtreecommitdiffstats
path: root/perl-install
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 /perl-install
parentd835bf9609a6eacc85760ebc0ec8f7790f5a001f (diff)
downloaddrakx-backup-do-not-use-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar
drakx-backup-do-not-use-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.gz
drakx-backup-do-not-use-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.bz2
drakx-backup-do-not-use-9c71b61d880fd6419d62a745d9a44318639bdfe8.tar.xz
drakx-backup-do-not-use-9c71b61d880fd6419d62a745d9a44318639bdfe8.zip
update shorewall interfaces list when a new interface is detected (#21252)
Diffstat (limited to 'perl-install')
-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: