summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-07-29 15:57:20 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-07-29 15:57:20 +0000
commita648d376af26dd6efa8ed634b93b71efe268fb52 (patch)
tree350a2d813062d905f719e8e8ca82740625ef1808
parentecc2cc411f8831fc0db33fe3023fdbaba0f981cd (diff)
downloaddrakwizard-a648d376af26dd6efa8ed634b93b71efe268fb52.tar
drakwizard-a648d376af26dd6efa8ed634b93b71efe268fb52.tar.gz
drakwizard-a648d376af26dd6efa8ed634b93b71efe268fb52.tar.bz2
drakwizard-a648d376af26dd6efa8ed634b93b71efe268fb52.tar.xz
drakwizard-a648d376af26dd6efa8ed634b93b71efe268fb52.zip
cleaned some debug info and erased a mismatched parenthesis
-rw-r--r--firewall_wizard/scripts/FWconf.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/firewall_wizard/scripts/FWconf.pm b/firewall_wizard/scripts/FWconf.pm
index abe480ab..0eb3badf 100644
--- a/firewall_wizard/scripts/FWconf.pm
+++ b/firewall_wizard/scripts/FWconf.pm
@@ -30,7 +30,6 @@ sub store_fwall {
}
sub do_it {
- print "hello\n";
my $TCP_PUBLIC_SERVICES="";
my $UDP_PUBLIC_SERVICES="";
my $TCP_INTERNAL_SERVICES="";
@@ -88,7 +87,7 @@ sub do_it {
"wiz_workgroup",
"wiz_caching_dns");
foreach (@wiz_var) {
- ${$_} = $mdk{$_} if defined $mdk{$_} && !($mdk{$_} =~ /^\s*$/);
+ ${$_} = $mdk{$_} if defined $mdk{$_} && !$mdk{$_} =~ /^\s*$/;
}
$file = "/etc/sysconfig/network-scripts/ifcfg-".$INTERNAL_IFACES;
%mdk = Vareqval->get($file);
@@ -198,7 +197,6 @@ sub do_it {
Vareqval->commit($firewall_cfg, \%fw);
system("chkconfig --level 345 bastille-firewall on");
system("service bastille-firewall start");
- print "bye\n";
}
1;