diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-23 03:01:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-23 03:01:03 +0000 |
commit | 1f1490862909507c4a960d136bd3c8f39ae2928f (patch) | |
tree | 7fd8ae5796f2dfb7f9c30743b33abe1c3970a2eb /perl-install/standalone/drakconnect | |
parent | 52704b0ef53fa337a6908ca417aa1bc785b75ff4 (diff) | |
download | drakx-1f1490862909507c4a960d136bd3c8f39ae2928f.tar drakx-1f1490862909507c4a960d136bd3c8f39ae2928f.tar.gz drakx-1f1490862909507c4a960d136bd3c8f39ae2928f.tar.bz2 drakx-1f1490862909507c4a960d136bd3c8f39ae2928f.tar.xz drakx-1f1490862909507c4a960d136bd3c8f39ae2928f.zip |
prepare for network::tools::reread_net_conf removal
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 01f471326..921b36459 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -42,17 +42,19 @@ use network::tools; use MDK::Common::Globals "network", qw($in); use POSIX ":sys_wait_h"; -my ($netcnx, $netc, $intf) = ({}, {}, {}); -#my @conx_type = ('modem', 'isdn_internal', 'isdn_external', 'adsl', 'cable', 'lan'); - $ugtk2::wm_icon = "drakconnect"; my $in = 'interactive'->vnew('su'); if ($in->isa('interactive::gtk')) { require ugtk2; ugtk2->import(qw(:create :dialogs :helpers :wrappers)); } + +my ($netcnx, $netc, $intf) = ({}, {}, {}); +network::netconnect::read_net_conf($netcnx, $netc, $intf); + my $modules_conf = modules::any_conf->read; -network::tools::reread_net_conf($modules_conf, $netcnx, $netc, $intf); +modules::load_category($modules_conf, 'net'); + $::Wizard_title = N("Network & Internet Configuration"); $::Wizard_pix_up = "drakconnect.png"; |