diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-13 10:56:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-13 10:56:42 +0000 |
commit | 9b61b2c67b7c971e763b60504b4ed361b64d965d (patch) | |
tree | 552d6ba8eb8ecd8427a09048624941995e49e1cd /perl-install | |
parent | 41d38f7c702f49c60bf331847e90b27ff7cd896e (diff) | |
download | drakx-backup-do-not-use-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar drakx-backup-do-not-use-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.gz drakx-backup-do-not-use-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.bz2 drakx-backup-do-not-use-9b61b2c67b7c971e763b60504b4ed361b64d965d.tar.xz drakx-backup-do-not-use-9b61b2c67b7c971e763b60504b4ed361b64d965d.zip |
consider a device as wifi even if it isn't plugged (useful in manage wizard)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index 26e09dd6e..e77bd471f 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -282,7 +282,7 @@ sub get_interface_type { member($interface->{TYPE}, "xDSL", "ADSL") && "adsl" || $interface->{DEVICE} =~ /^ippp/ && "isdn" || $interface->{DEVICE} =~ /^ppp/ && "modem" || - detect_devices::is_wireless_interface($interface->{DEVICE}) && "wifi" || + (detect_devices::is_wireless_interface($interface->{DEVICE}) || exists $interface->{WIRELESS_MODE}) && "wifi" || detect_devices::is_lan_interface($interface->{DEVICE}) && "ethernet" || "unknown"; } |