summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/modem.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 0af9d9ffa..18755d0cb 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -10,6 +10,7 @@ use network::tools;
sub first_modem {
my ($netc) = @_;
+ return "/mnt/root" if $::isInstall;
first(grep { $_->{device} =~ m!^/dev! } values %{$netc->{autodetect}{modem}});
}