summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm3
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() {