summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-06 08:59:42 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-06 08:59:42 +0000
commitc70f4c9317eeace348328e0807d958be01b5922f (patch)
tree8a52502d98ff6dc37dae2f55ddb666f9a3de0675
parentc43e935b3d59a6398f34fb8061a34b40416e2b56 (diff)
downloaddrakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar
drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.gz
drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.bz2
drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.tar.xz
drakwizard-c70f4c9317eeace348328e0807d958be01b5922f.zip
remove use strict
-rw-r--r--firewall_wizard/scripts/FWconf.pm6
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;