summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:13:54 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 16:13:54 +0000
commit7eb0e236c248888fcc75d5d9441f040544d7367f (patch)
tree16fe83ed2b7e30dc2c0412a5d14dc7b6118cce56
parent4be7f0370e0f77634ddc3e7e228df34050374d69 (diff)
downloaddrakx-7eb0e236c248888fcc75d5d9441f040544d7367f.tar
drakx-7eb0e236c248888fcc75d5d9441f040544d7367f.tar.gz
drakx-7eb0e236c248888fcc75d5d9441f040544d7367f.tar.bz2
drakx-7eb0e236c248888fcc75d5d9441f040544d7367f.tar.xz
drakx-7eb0e236c248888fcc75d5d9441f040544d7367f.zip
share same path in both standalone and in install mode
-rw-r--r--perl-install/network/netconnect.pm28
1 files changed, 1 insertions, 27 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 355aa8be4..875a92f23 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -140,33 +140,7 @@ sub get_subwizard {
defaultimage => "wiz_drakconnect.png",
name => N("Network & Internet Configuration"),
pages => {
- install =>
- {
- if_($::isInstall, no_back => 1),
- name => N("Welcome to The Network Configuration Wizard.
-
-We are about to configure your internet/network connection.
-If you don't want to use the auto detection, deselect the checkbox.
-"),
- interactive_help_id => 'configureNetwork',
- data => [
- { text => N("Use auto detection"), val => \$netc->{autodetection}, type => 'bool' },
- { text => N("Expert Mode"), val => \$::expert, type => 'bool' },
- ],
- post => sub {
- if ($netc->{autodetection}) {
- my $_w = $in->wait_message(N("Network Configuration Wizard"), N("Detecting devices..."));
- detect($netc->{autodetect});
- }
-
- $conf{$_} = values %{$netc->{autodetect}{$_}} ? 1 : 0 foreach 'lan';
- $conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach qw(adsl cable modem winmodem);
- $conf{isdn} = any { $_->{driver} } values %{$netc->{autodetect}{isdn}};
- return "connection";
- },
- },
-
- connection =>
+ welcome =>
{
pre => sub {
if (!$::isInstall) {