From 257668d97e0fd3f290ac8415c60dfc11510cc786 Mon Sep 17 00:00:00 2001 From: Meghana M Date: Fri, 26 Jun 2015 11:27:18 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11432 Reviewed-by: Niels de Vos Tested-by: NetBSD Build System Tested-by: Gluster Build System --- extras/hook-scripts/start/post/S31ganesha-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/hook-scripts/start/post/S31ganesha-start.sh') diff --git a/extras/hook-scripts/start/post/S31ganesha-start.sh b/extras/hook-scripts/start/post/S31ganesha-start.sh index 7ba8af1e6e4..dc3eaeaaa9f 100755 --- a/extras/hook-scripts/start/post/S31ganesha-start.sh +++ b/extras/hook-scripts/start/post/S31ganesha-start.sh @@ -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 -- cgit