summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-06 04:36:01 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-06 04:36:01 +0000
commit47e7898cc30fa6955cebedf8b647ff02a0ddd038 (patch)
treec475164690d5670300b20029f61b27d366450b64
parent20c4005bc370abfb857b60b0c372aac1b9c5f377 (diff)
downloaddrakx-47e7898cc30fa6955cebedf8b647ff02a0ddd038.tar
drakx-47e7898cc30fa6955cebedf8b647ff02a0ddd038.tar.gz
drakx-47e7898cc30fa6955cebedf8b647ff02a0ddd038.tar.bz2
drakx-47e7898cc30fa6955cebedf8b647ff02a0ddd038.tar.xz
drakx-47e7898cc30fa6955cebedf8b647ff02a0ddd038.zip
try to mount proc fs too, in case it wasn't done earlier
-rw-r--r--perl-install/network/adsl.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 98d6c7414..7ac394232 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -320,6 +320,7 @@ TYPE=$kind
unless ($::isStandalone) {
$::isInstall && eval {
require fs;
+ fs::mount("/proc", "$::prefix/proc", 'proc');
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}}) }