diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-06 08:59:42 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-06 08:59:42 +0000 |
commit | c70f4c9317eeace348328e0807d958be01b5922f (patch) | |
tree | 8a52502d98ff6dc37dae2f55ddb666f9a3de0675 /firewall_wizard/scripts | |
parent | c43e935b3d59a6398f34fb8061a34b40416e2b56 (diff) | |
download | drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.gz drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.bz2 drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.xz drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.zip |
remove use strict
Diffstat (limited to 'firewall_wizard/scripts')
-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; |