diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-06 04:59:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-06 04:59:31 +0000 |
commit | a826e9b683ee7580c28320bd398d974697abd74d (patch) | |
tree | d80561f9ec4b28c52ddcf6a4dd391b081b11b684 /perl-install/network | |
parent | 47e7898cc30fa6955cebedf8b647ff02a0ddd038 (diff) | |
download | drakx-a826e9b683ee7580c28320bd398d974697abd74d.tar drakx-a826e9b683ee7580c28320bd398d974697abd74d.tar.gz drakx-a826e9b683ee7580c28320bd398d974697abd74d.tar.bz2 drakx-a826e9b683ee7580c28320bd398d974697abd74d.tar.xz drakx-a826e9b683ee7580c28320bd398d974697abd74d.zip |
(adsl_conf_backend) only try to mount /proc if it wasn't (eg if we
didn't intall any packages)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/adsl.pm | 2 |
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}}) } |