mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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. (From OE-Core rev: 967aa21662930fe5584485d820eb7959a29815bb) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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;;
|
||||
|
||||
Reference in New Issue
Block a user