diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-13 10:58:34 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-13 10:58:34 +0000 |
commit | 882f11361e45833a36d64b044af903529a40a1a3 (patch) | |
tree | a685aa06547929f49ac00b78b146cf3f2f1a46f8 | |
parent | 9b61b2c67b7c971e763b60504b4ed361b64d965d (diff) | |
download | drakx-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-x | perl-install/standalone/drakconnect | 2 |
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 }; } } |