diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-04-30 21:58:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-03 15:48:08 +0100 |
commit | d3e0f1fcda90a249243b2cb1aded00d710359318 (patch) | |
tree | 6101f3b155549aefea81f9197f9b241bba03adb0 /meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | |
parent | faf1a72ce3aa76ad50a24745ee698a7e3dca1184 (diff) | |
download | poky-d3e0f1fcda90a249243b2cb1aded00d710359318.tar.gz |
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>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver')
-rw-r--r-- | meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver index 69c871855f..e460e26af0 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver | |||
@@ -105,14 +105,6 @@ stop_nfsd(){ | |||
105 | } | 105 | } |
106 | then | 106 | then |
107 | echo done | 107 | echo done |
108 | # This will remove, recursively, dependencies | ||
109 | echo -n 'removing nfsd kernel module: ' | ||
110 | if modprobe -r nfsd | ||
111 | then | ||
112 | echo done | ||
113 | else | ||
114 | echo failed | ||
115 | fi | ||
116 | else | 108 | else |
117 | echo failed | 109 | echo failed |
118 | fi | 110 | fi |