summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2008-10-01 12:53:50 +0000
committerAntoine Ginies <aginies@mandriva.com>2008-10-01 12:53:50 +0000
commitbd4b9d86d129831fbeefce182aecb009e56c54d7 (patch)
tree20f01b4ae42fa7902ba1fe812f617c26ef76fbf9 /bin/draknfs
parent9a88fed37c05f32a63b56ce3281f8b0aa5566079 (diff)
downloaddrakx-net-bd4b9d86d129831fbeefce182aecb009e56c54d7.tar
drakx-net-bd4b9d86d129831fbeefce182aecb009e56c54d7.tar.gz
drakx-net-bd4b9d86d129831fbeefce182aecb009e56c54d7.tar.bz2
drakx-net-bd4b9d86d129831fbeefce182aecb009e56c54d7.tar.xz
drakx-net-bd4b9d86d129831fbeefce182aecb009e56c54d7.zip
fix bug 44335 (start rpcbind service)
Diffstat (limited to 'bin/draknfs')
-rwxr-xr-xbin/draknfs4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 22f132f..8ac29c2 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -34,6 +34,7 @@ use ugtk2 qw(:ask :wrappers :create :dialogs);
my $in = 'interactive'->vnew('su');
$in->do_pkgs->ensure_is_installed('nfs-utils', '/etc/rc.d/init.d/nfs-server') or exit(1);
+$in->do_pkgs->ensure_is_installed('rpcbind', '/etc/rc.d/init.d/rpcbind') or exit(1);
use constant COLUMN_DIR => 0;
use constant COLUMN_ACCESS => 1;
@@ -579,7 +580,8 @@ my $okcancel = create_okcancel({
);
my $wait = $in->wait_message(N("Please wait"), N("Starting the NFS-server"));
-services::_run_action('nfs-server', services::is_service_running('nfs-server') ? "start" : "status");
+services::_run_action('rpcbind', "start");
+services::_run_action('nfs-server', "start");
undef $wait;
# main interface
pot file
Diffstat (limited to 'perl-install/share/po')