summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-13 10:58:34 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-13 10:58:34 +0000
commit882f11361e45833a36d64b044af903529a40a1a3 (patch)
treea685aa06547929f49ac00b78b146cf3f2f1a46f8
parent9b61b2c67b7c971e763b60504b4ed361b64d965d (diff)
downloaddrakx-882f11361e45833a36d64b044af903529a40a1a3.tar
drakx-882f11361e45833a36d64b044af903529a40a1a3.tar.gz
drakx-882f11361e45833a36d64b044af903529a40a1a3.tar.bz2
drakx-882f11361e45833a36d64b044af903529a40a1a3.tar.xz
drakx-882f11361e45833a36d64b044af903529a40a1a3.zip
use get_interface_type() to decide if the wifi settings page should be displayed
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 42ce559a3..16558c6ae 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -292,7 +292,7 @@ sub build_tree {
}
else {
#- ethernet is default
- $intf->{pages} = { 'TCP/IP' => 1, 'DHCP' => 1, if_(detect_devices::is_wireless_interface($intf->{DEVICE}), 'Wireless' => 1), 'Options' => 1, 'Information' => 1 };
+ $intf->{pages} = { 'TCP/IP' => 1, 'DHCP' => 1, if_(network::tools::get_interface_type($intf) eq "wifi", 'Wireless' => 1), 'Options' => 1, 'Information' => 1 };
}
}