summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2008-09-17 15:31:58 +0000
committerAntoine Ginies <aginies@mandriva.com>2008-09-17 15:31:58 +0000
commitaacc91dcdf59b4589428d5d649afc69a45d90a7a (patch)
treeb26918d84c581d4506e2469a37fa8169640eff21
parent4d3dbe44570955908500c95cb5820ae57655d2d9 (diff)
downloaddrakx-net-aacc91dcdf59b4589428d5d649afc69a45d90a7a.tar
drakx-net-aacc91dcdf59b4589428d5d649afc69a45d90a7a.tar.gz
drakx-net-aacc91dcdf59b4589428d5d649afc69a45d90a7a.tar.bz2
drakx-net-aacc91dcdf59b4589428d5d649afc69a45d90a7a.tar.xz
drakx-net-aacc91dcdf59b4589428d5d649afc69a45d90a7a.zip
start nfs-server if needed only, don't use the restart command
-rwxr-xr-xbin/draknfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 157e6f0..d3040f6 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -568,7 +568,7 @@ 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') ? "restart" : "start");
+services::_run_action('nfs-server', services::is_service_running('nfs-server') ? "start" : "status");
undef $wait;
# main interface