From bd4b9d86d129831fbeefce182aecb009e56c54d7 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 1 Oct 2008 12:53:50 +0000 Subject: fix bug 44335 (start rpcbind service) --- bin/draknfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1