summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-10 07:58:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-10 07:58:25 +0000
commitee1a64bdbd11691d9ab112557f61bd9de0e3f97a (patch)
tree66a72c0c59564c57b3b5c2e9732ea3c5caa69243 /perl-install/network
parent3799c3388d4ed5524da4c9907b28c9797b62d110 (diff)
downloaddrakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.gz
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.bz2
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.tar.xz
drakx-ee1a64bdbd11691d9ab112557f61bd9de0e3f97a.zip
mount /proc, /sys and /proc/usb/usb in $prefix ASAP instead of doing it at various places
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 77dba84a5..a47fde34e 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -319,12 +319,6 @@ TYPE=$kind
write_cnx_script($netc);
unless ($::isStandalone) {
- #- proc and usbdevfs need to be mounted for external start commands
- $::isInstall && eval {
- require fs;
- fs::mount("/proc", "$::prefix/proc", 'proc') if !-f "$::prefix/proc/mounts";
- 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) }
or log::l("failed to load " . join(',', @modules), " modules: $@");