From b3e89bd16dcf10f48c441e68b700d88181f6c073 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 5 Mar 2003 13:13:24 +0000 Subject: fixed wizard modification not taken into account when using drakconf. --- perl-install/standalone/drakconnect | 9 +++++++-- 1 file 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 ->")) -- cgit v1.2.1