summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/remote
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-25 14:40:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-25 14:40:44 +0000
commit941d34008462a86f1e9b5accd9a9aa125b5ff1b8 (patch)
tree78b0fb24626cca53bce274d13eb5795dacf9d7c2 /perl-install/fs/remote
parent9cf328b21c1e39f6071146ad30aaf317b93882d5 (diff)
downloaddrakx-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar
drakx-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.gz
drakx-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.bz2
drakx-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.xz
drakx-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.zip
use services.pm (to please blino)
Diffstat (limited to 'perl-install/fs/remote')
-rw-r--r--perl-install/fs/remote/nfs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs/remote/nfs.pm b/perl-install/fs/remote/nfs.pm
index f946a4323..7455ee675 100644
--- a/perl-install/fs/remote/nfs.pm
+++ b/perl-install/fs/remote/nfs.pm
@@ -29,7 +29,8 @@ sub to_dev_raw {
sub check {
my ($_class, $in) = @_;
$in->do_pkgs->ensure_binary_is_installed('nfs-utils-clients', 'showmount') or return;
- system('/etc/init.d/portmap start') if system('/etc/init.d/portmap status') != 0;
+ require services;
+ services::start_not_running_service('portmap');
1;
}