summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2008-03-05 17:01:51 +0000
committerNicolas Vigier <nvigier@mandriva.com>2008-03-05 17:01:51 +0000
commit09b68dda33139ecadd5958e4a44acad9c1e1becc (patch)
treed5949697d63de75b6b987d499ee415323c753824
parent1ea920072c09c49c019188e7d30b7fca1e6e8391 (diff)
downloaddrakwizard-09b68dda33139ecadd5958e4a44acad9c1e1becc.tar
drakwizard-09b68dda33139ecadd5958e4a44acad9c1e1becc.tar.gz
drakwizard-09b68dda33139ecadd5958e4a44acad9c1e1becc.tar.bz2
drakwizard-09b68dda33139ecadd5958e4a44acad9c1e1becc.tar.xz
drakwizard-09b68dda33139ecadd5958e4a44acad9c1e1becc.zip
fix perl -cw errors
-rwxr-xr-xproxy_wizard/Squid.pm1
-rwxr-xr-xsshd_wizard/Sshd.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 4a8e0dd6..e0c0de7f 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -29,6 +29,7 @@ use services;
use MDK::Wizard::Wizcommon;
my $wiz = new MDK::Wizard::Wizcommon;
+my $in = interactive->vnew;
my $HOSTNAME = $wiz->{net}->network_get("HOSTNAME");
my $DOMAINNAME = chomp_(`dnsdomainname`);
my $SHORTHOSTNAME = chomp_(`hostname -s`);
diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm
index 58657a91..4a4b3f0d 100755
--- a/sshd_wizard/Sshd.pm
+++ b/sshd_wizard/Sshd.pm
@@ -30,6 +30,7 @@ use Libconf::Glueconf::Networking::Sshd_config;
my $wiz = new MDK::Wizard::Wizcommon;
+my $in = interactive->vnew;
my $conf = "/etc/ssh/sshd_config";
my $DOMAINNAME = chomp_(`dnsdomainname`);
my $SHORTHOSTNAME = chomp_(`hostname -s`);