summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-16 16:49:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-16 16:49:53 +0000
commitba8e8f1212675679d40009210454f62d26db2182 (patch)
treeb6cb9683eb255fde720be4e129857d90aa30c97c /perl-install/standalone/drakgw
parent2fdb9db2e8839891d304a31c21f83434048220d6 (diff)
downloaddrakx-backup-do-not-use-ba8e8f1212675679d40009210454f62d26db2182.tar
drakx-backup-do-not-use-ba8e8f1212675679d40009210454f62d26db2182.tar.gz
drakx-backup-do-not-use-ba8e8f1212675679d40009210454f62d26db2182.tar.bz2
drakx-backup-do-not-use-ba8e8f1212675679d40009210454f62d26db2182.tar.xz
drakx-backup-do-not-use-ba8e8f1212675679d40009210454f62d26db2182.zip
do not abuse global namespace
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index b2ce377e9..0dfa138f8 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -40,7 +40,7 @@ $::isInstall and die "Not supported during install.\n";
local $_ = join '', @ARGV;
$::Wizard_pix_up = "drakgw.png";
-$::direct = /-direct/;
+my $direct = /-direct/;
my $sysconf_network = "/etc/sysconfig/network";
my $sysconf_dhcpd = "/etc/sysconfig/dhcpd";
@@ -187,7 +187,7 @@ step_ask_confirm:
undef $::Wizard_no_previous;
-$::direct or $in->ask_okcancel(N("Internet Connection Sharing"),
+$direct or $in->ask_okcancel(N("Internet Connection Sharing"),
N("You are about to configure your computer to share its Internet connection.
With that feature, other computers on your local network will be able to use this computer's Internet connection.