diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-14 18:33:35 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-14 18:33:35 +0000 |
commit | 9636c914eff567fddb7e6bafe69f0e17c47dc141 (patch) | |
tree | 85130fd84ffbb51bb509ae806ae01d6b72e0b1f6 /perl-install | |
parent | dbc5cf76e51ea7bdfe810f6bd79d8410bea487dc (diff) | |
download | drakx-9636c914eff567fddb7e6bafe69f0e17c47dc141.tar drakx-9636c914eff567fddb7e6bafe69f0e17c47dc141.tar.gz drakx-9636c914eff567fddb7e6bafe69f0e17c47dc141.tar.bz2 drakx-9636c914eff567fddb7e6bafe69f0e17c47dc141.tar.xz drakx-9636c914eff567fddb7e6bafe69f0e17c47dc141.zip |
do not list hso* interfaces as ethernet interfaces
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index f26f64d52..679767af4 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -614,12 +614,13 @@ sub is_lan_interface { # we want LAN like interfaces here (eg: ath|br|eth|fddi|plip|ra|tr|usb|wlan). # there's also bnep%d for bluetooth, bcp%d... # we do this by blacklisting the following interfaces: + # hso%d are created by drivers/net/usb/hso.c # ippp|isdn|plip|ppp (initscripts suggest that isdn%d can be created but kernel sources claim not) # ippp%d are created by drivers/isdn/i4l/isdn_ppp.c # plip%d are created by drivers/net/plip.c # ppp%d are created by drivers/net/ppp_generic.c is_useful_interface($_[0]) && - $_[0] !~ /^(?:ippp|isdn|plip|ppp)/; + $_[0] !~ /^(?:hso|ippp|isdn|plip|ppp)/; } sub is_useful_interface { |