From 5048a8ed57858715caf025ec6cef32828671b036 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 10 Aug 2005 01:11:16 +0000 Subject: remove restart of unavailable service (nfsd) --- installsrv_wizard/Installsrv.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installsrv_wizard') diff --git a/installsrv_wizard/Installsrv.pm b/installsrv_wizard/Installsrv.pm index 34f4f855..e29c469f 100644 --- a/installsrv_wizard/Installsrv.pm +++ b/installsrv_wizard/Installsrv.pm @@ -122,8 +122,8 @@ sub add_install_dir { print " - " . $NFSEXPORTS . " ready\n"; } else { append_to_file($NFSEXPORTS, "$o->{var}{DESTDIR} *(async,rw,no_root_squash)\n"); - check_started($_) foreach qw(nfs nfsd); - system("service nfsd reload"); + check_started("nfs"); + system("service nfs reload"); } } -- cgit v1.2.1