nfs-utils: don't try to unload nfsd module

* When nfsserver get's stopped, "modprobe -r nfsd" may
  hang indefinitely. As there's no need to unload the
  module, just remove the call to modprobe.

(From OE-Core rev: aba81b64679ec0b1809946cb480e261af47f7625)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Oberritter 2012-04-30 21:58:00 +02:00 committed by Richard Purdie
parent faf1a72ce3
commit d3e0f1fcda
2 changed files with 1 additions and 9 deletions

View File

@ -105,14 +105,6 @@ stop_nfsd(){
}
then
echo done
# This will remove, recursively, dependencies
echo -n 'removing nfsd kernel module: '
if modprobe -r nfsd
then
echo done
else
echo failed
fi
else
echo failed
fi

View File

@ -12,7 +12,7 @@ DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
RDEPENDS_${PN} = "portmap"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
PR = "r3"
PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \
file://nfs-utils-1.0.6-uclibc.patch \