summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind/init.d
Commit message (Collapse)AuthorAgeFilesLines
* rpcbind: fix init status and exit codeWenzong Fan2013-12-141-3/+5
| | | | | | | | | | | Print status messages and exit with proper code. This also allows debian service script to get rpcbind status correctly. (From OE-Core rev: f07c2519c4ccfc847d7184d7eada6d7620950277) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix rpcbind restart failure when rpcbind is not runningZhangle Yang2013-11-291-1/+1
| | | | | | | | | | | "rpcbind restart" executes stop and then start function. However, if rpcbind is not started, "exit 0" shall be run in stop function, so start function will not be run at all. This patch changes "exit 0" to "return 0". (From OE-Core rev: ce17144b736b364175ab76e19e720292edfd2d81) Signed-off-by: Zhangle Yang <zhangle.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: add and use startup script, move binariesChristopher Larson2012-06-081-0/+85
- Add init script from debian, tweaked for us - Move binaries from bindir to sbindir, as debian does (From OE-Core rev: 8576575ce9a1be8f7bec4e7c018d9be5c3b247df) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>