diff options
author | Francois Pons <fpons@mandriva.com> | 2003-03-05 13:13:24 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-03-05 13:13:24 +0000 |
commit | b3e89bd16dcf10f48c441e68b700d88181f6c073 (patch) | |
tree | 8541c94215fc18228c018a8cc857c9e7059e75a7 /perl-install/standalone | |
parent | 30d8055202d6d7cb8077fa1176483035351159df (diff) | |
download | drakx-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar drakx-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.gz drakx-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.bz2 drakx-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.xz drakx-b3e89bd16dcf10f48c441e68b700d88181f6c073.zip |
fixed wizard modification not taken into account when using drakconf.
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakconnect | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index c432a29d7..bbc4acf59 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -241,9 +241,14 @@ $window1->{window}->add( clicked => sub { $::isWizard = 1; system("drakconnect --wizard"); - # netconnect::intro('', $netcnx, $in); + #- reload everything... + $netcnx = {}; $netc = {}; $intf = {}; + network::netconnect::read_net_conf('', $netcnx, $netc); + modules::load_category('net'); + @all_cards = network::ethernet::conf_network_card_backend($netc, $intf); + network::netconnect::load_conf($netcnx, $netc, $intf); + network::network::probe_netcnx_type('', $netc, $intf, $netcnx); $combo1->entry->set_text(-e "/etc/sysconfig/network-scripts/drakconnect_conf." . ($combo1->entry->get_text || "default")); - network::netconnect::load_conf($netcnx, $netc, $intf); update(); }), Gtk2::Label->new(N("Click here to launch the wizard ->")) |