diff options
Diffstat (limited to 'firewall_wizard')
-rw-r--r-- | firewall_wizard/scripts/FWconf.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firewall_wizard/scripts/FWconf.pm b/firewall_wizard/scripts/FWconf.pm index 0eb3badf..87ecc226 100644 --- a/firewall_wizard/scripts/FWconf.pm +++ b/firewall_wizard/scripts/FWconf.pm @@ -3,15 +3,12 @@ package FWconf; require "__WIZ_HOME__/common/scripts/Vareqval.pm"; use MDK::Common; -use strict; +#use strict; sub true { my ($val) = @_; if (defined $val) { - $val eq "0" || $val eq "\'0\'" || $val eq "\"0\"" || - $val eq "false" || $val eq "\'false\'" || $val eq "\"false\"" and - return 0; $val eq "1" || $val eq "\'1\'" || $val eq "\"1\"" || $val eq "true" || $val eq "\'true\'" || $val eq "\"true\"" and return 1; @@ -197,6 +194,7 @@ sub do_it { Vareqval->commit($firewall_cfg, \%fw); system("chkconfig --level 345 bastille-firewall on"); system("service bastille-firewall start"); + 10; } 1; |