diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-16 15:29:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-16 15:29:41 +0000 |
commit | 4e6e854f88ed6e450ec4a09d9985434b7198e58f (patch) | |
tree | bd0bb4263f8e76b5ec5cef035d8cf84b5024a8e9 /perl-install/detect_devices.pm | |
parent | 1119ce2a0275cbaa3d48572d72f21237db3fb072 (diff) | |
download | drakx-4e6e854f88ed6e450ec4a09d9985434b7198e58f.tar drakx-4e6e854f88ed6e450ec4a09d9985434b7198e58f.tar.gz drakx-4e6e854f88ed6e450ec4a09d9985434b7198e58f.tar.bz2 drakx-4e6e854f88ed6e450ec4a09d9985434b7198e58f.tar.xz drakx-4e6e854f88ed6e450ec4a09d9985434b7198e58f.zip |
(getModem) enable to skip (slow) detecting serial modems
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 643f3a376..3cf6609cc 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -561,9 +561,10 @@ sub getSerialModem { @modems; } +our $detect_serial_modem = 1; sub getModem { my ($modules_conf) = @_; - getSerialModem($modules_conf, {}), get_winmodems(); + ($detect_serial_modem ? getSerialModem($modules_conf, {}) : ()), get_winmodems(); } sub get_winmodems() { |