diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-02 17:20:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-02 17:20:18 +0000 |
commit | 41a52bc490736252c2a2de31f0ee817a026dee29 (patch) | |
tree | c7e37d5b51c66be7edaee65bf2ad5aa43e26bcf0 /perl-install | |
parent | dfebd82a68887c7fce70bce8425138cbaaa7f9ab (diff) | |
download | drakx-41a52bc490736252c2a2de31f0ee817a026dee29.tar drakx-41a52bc490736252c2a2de31f0ee817a026dee29.tar.gz drakx-41a52bc490736252c2a2de31f0ee817a026dee29.tar.bz2 drakx-41a52bc490736252c2a2de31f0ee817a026dee29.tar.xz drakx-41a52bc490736252c2a2de31f0ee817a026dee29.zip |
(is_wireless_intf) kill it since it's no more usefull.
rationale: rather than duplicating modules list in kernel/list_modules.pm
and network/tools.pm (with usual sync bugs), it's quite much easier to
maintain one single list of wireless modules in list_modules.pm
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/tools.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index d32fb5b13..e10518d78 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -8,7 +8,7 @@ use vars qw(@ISA @EXPORT @EXPORT_OK); use MDK::Common::System qw(getVarsFromSh); @ISA = qw(Exporter); -@EXPORT = qw(connect_backend connected connected_bg disconnect_backend is_dynamic_ip is_wireless_intf passwd_by_login read_providers_backend read_secret_backend set_cnx_script test_connected write_cnx_script write_initscript write_secret_backend); +@EXPORT = qw(connect_backend connected connected_bg disconnect_backend is_dynamic_ip passwd_by_login read_providers_backend read_secret_backend set_cnx_script test_connected write_cnx_script write_initscript write_secret_backend); our $connect_prog = "/etc/sysconfig/network-scripts/net_cnx_pg"; my $connect_file = "/etc/sysconfig/network-scripts/net_cnx_up"; @@ -213,11 +213,6 @@ sub use_floppy { } -sub is_wireless_intf { - my ($module) = @_; - member($module, qw(acx100_pci airo aironet_cs aironet4500_cs airo_cs airport at76c503 hermes netwave_cs orinoco_cs prism2_usb orinoco ray_cs usbvnet_rfmd wavelan_cs wvlan_cs)) -} - sub is_dynamic_ip { my ($intf) = @_; any { $_->{BOOTPROTO} !~ /^(none|static|)$/ } values %$intf; |