summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-05 13:13:24 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-05 13:13:24 +0000
commitb3e89bd16dcf10f48c441e68b700d88181f6c073 (patch)
tree8541c94215fc18228c018a8cc857c9e7059e75a7 /perl-install/standalone/drakconnect
parent30d8055202d6d7cb8077fa1176483035351159df (diff)
downloaddrakx-backup-do-not-use-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar
drakx-backup-do-not-use-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.gz
drakx-backup-do-not-use-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.bz2
drakx-backup-do-not-use-b3e89bd16dcf10f48c441e68b700d88181f6c073.tar.xz
drakx-backup-do-not-use-b3e89bd16dcf10f48c441e68b700d88181f6c073.zip
fixed wizard modification not taken into account when using drakconf.
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect9
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 ->"))