summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xbin/draknfs2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1f4026b..a827b59 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- draknfs: check /usr/sbin/rpc.nfsd instead of service file
+
1.16:
- fix nfs-utils detection now that we use only systemd (mga#7654)
- fix device path for "cdc_acm" (mga#3841)
diff --git a/bin/draknfs b/bin/draknfs
index 015ca80..5055b11 100755
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -33,7 +33,7 @@ use mygtk2 qw(gtknew gtkset);
use ugtk2 qw(:ask :wrappers :create :dialogs);
my $in = 'interactive'->vnew('su');
-$in->do_pkgs->ensure_is_installed('nfs-utils', '/usr/lib/systemd/system/nfs-server.service') or exit(1);
+$in->do_pkgs->ensure_is_installed('nfs-utils', '/usr/sbin/rpc.nfsd') or exit(1);
if (!$in->do_pkgs->is_installed("portmap")) {
$in->do_pkgs->ensure_is_installed('rpcbind') or exit(1);
}