summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-10 01:04:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-10 01:04:05 +0000
commit9d5141f156cdd601e35352826ee088ff4eef96ab (patch)
treeeb2e56f84b6d245972288f492248adc2580fc771 /perl-install
parent010f1924811a5d1bd7d461e69f482b2992f0f27f (diff)
downloaddrakx-9d5141f156cdd601e35352826ee088ff4eef96ab.tar
drakx-9d5141f156cdd601e35352826ee088ff4eef96ab.tar.gz
drakx-9d5141f156cdd601e35352826ee088ff4eef96ab.tar.bz2
drakx-9d5141f156cdd601e35352826ee088ff4eef96ab.tar.xz
drakx-9d5141f156cdd601e35352826ee088ff4eef96ab.zip
mounting device "none" is cleaner
Diffstat (limited to 'perl-install')
-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 27a54972f..77dba84a5 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -323,7 +323,7 @@ TYPE=$kind
$::isInstall && eval {
require fs;
fs::mount("/proc", "$::prefix/proc", 'proc') if !-f "$::prefix/proc/mounts";
- fs::mount("/proc/bus/usb", "$::prefix/proc/bus/usb", 'usbdevfs');
+ fs::mount('none', "$::prefix/proc/bus/usb", 'usbdevfs');
} or log::l("failed to mount usbdevfs");
my @modules = (@{$modems{$adsl_device}{modules}}, map { $_->[1] } @{$modems{$adsl_device}{aliases}});
@modules && eval { modules::load(@modules) }