NFS-Ganesha : Automatically export volume after volume restart

The export file was not getting created in the correct
path. Fixing the path in this patch.

Change-Id: If624266e1a934514868affb712514881d10239dc
BUG: 1231738
Signed-off-by: Meghana M <mmadhusu@redhat.com>
Reviewed-on: http://review.gluster.org/11432
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
Meghana M 2015-06-26 11:27:18 +05:30 committed by Kaleb KEITHLEY
parent 14cf2bbe77
commit 257668d97e

View File

@ -105,7 +105,7 @@ function start_ganesha()
cut -d"=" -f2)
if [ "$ganesha_value" = "on" ]
then
write_conf $VOL
write_conf $VOL > $GANESHA_DIR/exports/export.$VOL.conf
start_ganesha $VOL
else
exit 0