summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS2
-rwxr-xr-xbin/draknfs4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5e6a7bf..a295dd4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- drakfirewall:
o check shorewall enabling via systemd (mga#8699, from Rosa)
+- draknfs:
+ o fix nfs server having switch to systemd unit (mga#3386, Derek Jennings)
1.18:
- drop broadcom-wl reference during free driver tests
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 },
},
);