summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2007-08-08 15:03:55 +0000
committerNicolas Vigier <nvigier@mandriva.com>2007-08-08 15:03:55 +0000
commit9c57080799fd72c8e56311d33325572d05a389fb (patch)
tree9404e163cc1d6c432b0fd039c2b7e0b0b6b390c6
parent5e5340cf53b41257f1e29bd97bb23ad70719d423 (diff)
downloaddrakx-net-9c57080799fd72c8e56311d33325572d05a389fb.tar
drakx-net-9c57080799fd72c8e56311d33325572d05a389fb.tar.gz
drakx-net-9c57080799fd72c8e56311d33325572d05a389fb.tar.bz2
drakx-net-9c57080799fd72c8e56311d33325572d05a389fb.tar.xz
drakx-net-9c57080799fd72c8e56311d33325572d05a389fb.zip
- fix path for do_pkgs->ensure_is_installed : /sbin/rpc.statd
is from nfs-utils-client package, not nfs-utils - nfs service was renamed to nfs-server for 2008.0
-rw-r--r--bin/draknfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/draknfs b/bin/draknfs
index a81d62d..e92ce81 100644
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -28,7 +28,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', '/sbin/rpc.statd') or return;
+$in->do_pkgs->ensure_is_installed('nfs-utils', '/etc/rc.d/init.d/nfs-server') or return;
use constant COLUMN_DIR => 0;
use constant COLUMN_ACCESS => 1;
@@ -72,7 +72,7 @@ sub quit_all() {
}
sub restart_dialog() {
- wait_action("service nfs restart");
+ wait_action("service nfs-server restart");
}
sub reload_dialog() {