summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draknfs')
-rwxr-xr-xbin/draknfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 4337c69..a05c641 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -84,7 +84,7 @@ sub restart_dialog() {
}
sub reload_dialog() {
- wait_action("service nfs-server reload");
+ wait_action("exportfs -ra");
}
sub wait_action {
@@ -577,7 +577,7 @@ my $menu = $factory->get_widget('<main>');
my $okcancel = create_okcancel({
cancel_clicked => sub { ugtk2->exit },
ok_clicked => sub { &write_conf;
- run_program::raw({ detach => 1 }, "service nfs-server reload");
+ run_program::raw({ detach => 1 }, "exportfs -ra");
ugtk2->exit },
},
);