summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index e7e1b509d..a291e6dcf 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -246,6 +246,8 @@ sub winmodemConfigure {
my %relocations = (ltmodem => $in->do_pkgs->check_kernel_module_packages('ltmodem'));
my $type;
+ $netc->{autodetect}{winmodem} or ($in->ask_warn(N("Warning"), N("You don't have any winmodem")) ? return 0 : $in->exit(0));
+
foreach (keys %{$netc->{autodetect}{winmodem}}) {
/Hcf/ and $type = "hcfpcimodem";
/Hsf/ and $type = "hsflinmodem";