[OE-core] [PATCH] nfs-utils: Reexport all directories when start
rongqing.li at windriver.com
rongqing.li at windriver.com
Mon Jun 29 01:58:17 UTC 2015
From: Li Wang <li.wang at windriver.com>
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>
---
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;;
--
1.9.1
More information about the Openembedded-core
mailing list