From 75d57ea452c6ed7feba1b8be106e5827a6b30931 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Jan 2004 15:20:10 +0000 Subject: move all options parsing pieces together --- perl-install/standalone/drakconnect | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install') 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(); -- cgit v1.2.1