summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-08 15:20:10 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-08 15:20:10 +0000
commit75d57ea452c6ed7feba1b8be106e5827a6b30931 (patch)
tree9f9d5d1ccd24ea3578670795b39a7b390834ff1d /perl-install/standalone/drakconnect
parent28bef55e4c655426d233cd53df11a533f21bd4bf (diff)
downloaddrakx-75d57ea452c6ed7feba1b8be106e5827a6b30931.tar
drakx-75d57ea452c6ed7feba1b8be106e5827a6b30931.tar.gz
drakx-75d57ea452c6ed7feba1b8be106e5827a6b30931.tar.bz2
drakx-75d57ea452c6ed7feba1b8be106e5827a6b30931.tar.xz
drakx-75d57ea452c6ed7feba1b8be106e5827a6b30931.zip
move all options parsing pieces together
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 9abe800d6..58a6696bf 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -43,7 +43,6 @@ use MDK::Common::Globals "network", qw($in $prefix $disconnect_file $connect_pro
use POSIX ":sys_wait_h";
my $xpm_path = "/usr/share/libDrakX/pixmaps";
-local $_ = join '', @ARGV;
my ($netcnx, $netc, $intf) = ({}, {}, {});
my @conx_type = ('modem', 'isdn_internal', 'isdn_external', 'adsl', 'cable', 'lan');
@@ -65,7 +64,7 @@ MDK::Common::Globals::init(
connect_prog => "/etc/sysconfig/network-scripts/net_cnx_pg"
);
-
+local $_ = join '', @ARGV;
/--skip-wizard/ and goto manage;
/--add/ and add_intf();
/--del/ and del_intf();