summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 7ac394232..c14b3bb13 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -320,7 +320,7 @@ TYPE=$kind
unless ($::isStandalone) {
$::isInstall && eval {
require fs;
- fs::mount("/proc", "$::prefix/proc", 'proc');
+ fs::mount("/proc", "$::prefix/proc", 'proc') if !-f "$::prefix/proc/mounts";
fs::mount("/proc/bus/usb", "$::prefix/proc/bus/usb", 'usbdevfs');
} or log::l("failed to mount usbdevfs");
$modems{$adsl_device}{modules} && eval { modules::load(@{$modems{$adsl_device}{modules}}) }