summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-19 19:29:24 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-19 19:29:24 +0000
commit3b674adaeee147def38a782274200580f7274ee1 (patch)
tree471e8443a9ed626ece57aa0f536a11eeea5b6964 /bin
parentb6a532c151de07beca8a7a1ecad16547fccee58a (diff)
downloaddrakx-net-3b674adaeee147def38a782274200580f7274ee1.tar
drakx-net-3b674adaeee147def38a782274200580f7274ee1.tar.gz
drakx-net-3b674adaeee147def38a782274200580f7274ee1.tar.bz2
drakx-net-3b674adaeee147def38a782274200580f7274ee1.tar.xz
drakx-net-3b674adaeee147def38a782274200580f7274ee1.zip
fix nfs server having switch to systemd unit (mga#3386, Derek Jennings)
Diffstat (limited to 'bin')
-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 },
},
);