]> code.ossystems Code Review - openembedded-core.git/commit
Add pidofproc to ${sysconfdir}/init.d/functions
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 17 May 2011 15:35:57 +0000 (09:35 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 May 2011 13:22:53 +0000 (14:22 +0100)
commit114a11628fb04c30cc96c9fd23db7a7fbc4fd02e
tree43f36fa822c77099861fb746a6ce6e8aa5a7c51f
parent60df57a54ebfe8fa1c1574bcd7900c58810aa2d2
Add pidofproc to ${sysconfdir}/init.d/functions

Add pidofproc to ${sysconfdir}/init.d/functions, this is used for
getting the pid of the process. It uses pidof to implement currently, it
may also use the pidfile or ps to implement in the future.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-core/initscripts/initscripts-1.0/functions