diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-25 14:40:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-25 14:40:44 +0000 |
commit | 941d34008462a86f1e9b5accd9a9aa125b5ff1b8 (patch) | |
tree | 78b0fb24626cca53bce274d13eb5795dacf9d7c2 /perl-install/fs | |
parent | 9cf328b21c1e39f6071146ad30aaf317b93882d5 (diff) | |
download | drakx-backup-do-not-use-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar drakx-backup-do-not-use-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.gz drakx-backup-do-not-use-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.bz2 drakx-backup-do-not-use-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.tar.xz drakx-backup-do-not-use-941d34008462a86f1e9b5accd9a9aa125b5ff1b8.zip |
use services.pm (to please blino)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/remote/nfs.pm | 3 |
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; } |