summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-27 19:38:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-27 19:38:17 +0000
commit7234a984f9d4e05c4e1f93717c5e202cef54fb79 (patch)
treedf5c45767ca6928e9bd2a380120cc219251080e1 /perl-install
parent5f05559584f8d23c6e79b4ab197ba67ff6f43f49 (diff)
downloaddrakx-7234a984f9d4e05c4e1f93717c5e202cef54fb79.tar
drakx-7234a984f9d4e05c4e1f93717c5e202cef54fb79.tar.gz
drakx-7234a984f9d4e05c4e1f93717c5e202cef54fb79.tar.bz2
drakx-7234a984f9d4e05c4e1f93717c5e202cef54fb79.tar.xz
drakx-7234a984f9d4e05c4e1f93717c5e202cef54fb79.zip
(check): start portmap if needed
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/nfs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/nfs.pm b/perl-install/network/nfs.pm
index 87f336e36..de52e6455 100644
--- a/perl-install/network/nfs.pm
+++ b/perl-install/network/nfs.pm
@@ -30,6 +30,7 @@ sub to_dev_raw {
sub check {
my ($_class, $in) = @_;
$in->do_pkgs->ensure_is_installed('nfs-utils-clients', '/usr/sbin/showmount');
+ system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0;
}
sub find_servers {