summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-14 01:53:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-14 01:53:31 +0000
commitb422de522b74cc7c730c535357c837693bed0da5 (patch)
tree88620c0df8b445afd6484cefbf019c514a45ad38 /perl-install/network/tools.pm
parente7b51edc60f6de6d23c7f621acfc7122a8d722a4 (diff)
downloaddrakx-backup-do-not-use-b422de522b74cc7c730c535357c837693bed0da5.tar
drakx-backup-do-not-use-b422de522b74cc7c730c535357c837693bed0da5.tar.gz
drakx-backup-do-not-use-b422de522b74cc7c730c535357c837693bed0da5.tar.bz2
drakx-backup-do-not-use-b422de522b74cc7c730c535357c837693bed0da5.tar.xz
drakx-backup-do-not-use-b422de522b74cc7c730c535357c837693bed0da5.zip
fix crash on canceling "already configured net device" configuration (#7679)
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index e10518d78..4a39028d3 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -11,8 +11,8 @@ use MDK::Common::System qw(getVarsFromSh);
@EXPORT = qw(connect_backend connected connected_bg disconnect_backend is_dynamic_ip passwd_by_login read_providers_backend read_secret_backend set_cnx_script test_connected write_cnx_script write_initscript write_secret_backend);
our $connect_prog = "/etc/sysconfig/network-scripts/net_cnx_pg";
-my $connect_file = "/etc/sysconfig/network-scripts/net_cnx_up";
-my $disconnect_file = "/etc/sysconfig/network-scripts/net_cnx_down";
+our $connect_file = "/etc/sysconfig/network-scripts/net_cnx_up";
+our $disconnect_file = "/etc/sysconfig/network-scripts/net_cnx_down";
sub set_cnx_script {
my ($netc, $type, $up, $down, $type2) = @_;