diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-08-10 01:05:04 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-08-10 01:05:04 +0000 |
commit | 13b37c1a29132ec54a195c0bd27fc0f8d8903111 (patch) | |
tree | 584bebf3c05f52d37c2e07b2d5b6cde166e79804 | |
parent | 879110ee375c4459169b2364f158ab85952afc4f (diff) | |
download | drakwizard-13b37c1a29132ec54a195c0bd27fc0f8d8903111.tar drakwizard-13b37c1a29132ec54a195c0bd27fc0f8d8903111.tar.gz drakwizard-13b37c1a29132ec54a195c0bd27fc0f8d8903111.tar.bz2 drakwizard-13b37c1a29132ec54a195c0bd27fc0f8d8903111.tar.xz drakwizard-13b37c1a29132ec54a195c0bd27fc0f8d8903111.zip |
fix directory in /etc/exports
-rw-r--r-- | installsrv_wizard/Installsrv.pm | 3 |
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"); } } |