From 9c71b61d880fd6419d62a745d9a44318639bdfe8 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 1 Mar 2006 11:46:58 +0000 Subject: update shorewall interfaces list when a new interface is detected (#21252) --- perl-install/standalone/service_harddrake | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.1