]> code.ossystems Code Review - openembedded-core.git/commit
The Skeleton initscript doesn't work on minimal image
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 15 Aug 2011 08:26:55 +0000 (16:26 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Aug 2011 14:17:21 +0000 (15:17 +0100)
commit4d31193a6969df25bb85a9862b7295e85dcec04b
tree35011fbee8240e699a052c9d0aab62292d5e71ce
parentb5d381133660fe338796b965131cee39cec01b96
The Skeleton initscript doesn't work on minimal image

Fixes bug [YOCTO #1165]

The /etc/init.d/skeleton doesn't work on minimal image, this is
because of the pidofproc doesn't return "$?" correctly, so store
$? in the variable status would fix it.

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