summaryrefslogtreecommitdiffstats
path: root/installsrv_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'installsrv_wizard')
-rw-r--r--installsrv_wizard/Installsrv.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/installsrv_wizard/Installsrv.pm b/installsrv_wizard/Installsrv.pm
index 8e7c1798..34f4f855 100644
--- a/installsrv_wizard/Installsrv.pm
+++ b/installsrv_wizard/Installsrv.pm
@@ -121,8 +121,9 @@ sub add_install_dir {
if (any { /$o->{var}{DESTDIR}/ } cat_($NFSEXPORTS)) {
print " - " . $NFSEXPORTS . " ready\n";
} else {
- append_to_file($NFSEXPORTS, "$->{var}{DESTDIR} *(async,rw,no_root_squash)\n");
+ append_to_file($NFSEXPORTS, "$o->{var}{DESTDIR} *(async,rw,no_root_squash)\n");
check_started($_) foreach qw(nfs nfsd);
+ system("service nfsd reload");
}
}