[oe-commits] Li Wang : nfs-utils: Reexport all directories when start

git at git.openembedded.org git at git.openembedded.org
Mon Jun 29 08:28:25 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 3051849d5e2686d78e35212a9c0b53b5aed3c061
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3051849d5e2686d78e35212a9c0b53b5aed3c061

Author: Li Wang <li.wang at windriver.com>
Date:   Mon Jun 29 09:58:17 2015 +0800

nfs-utils: Reexport all directories when start

call "exportfs -r" to reexport all directories when start the nfsserver.
This change does follow debian and nfs-utils stardard.

Signed-off-by: Li Wang <li.wang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
index 6e0df7e..7ed93a5 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver
@@ -107,6 +107,7 @@ stop_nfsd(){
 #FIXME: need to create the /var/lib/nfs/... directories
 case "$1" in
   start)
+	exportfs -r
 	start_nfsd "$NFS_SERVERS"
 	start_mountd
 	test -r /etc/exports && exportfs -a;;



More information about the Openembedded-commits mailing list