corosync: fix init script
authorVladimir Sorokin <sorokin@altell.ru>
Thu, 24 Jun 2010 08:53:29 +0000 (12:53 +0400)
committerRoman I Khimov <khimov@altell.ru>
Mon, 12 Jul 2010 04:49:53 +0000 (08:49 +0400)
commit9d4bc378ba2f579d8653803b5e0624558d17413f
tree5de9c2cc70f5626d5e7d106a0ee5e210a89ee482
parentf65a2a31d30291ce81ce3b4042b41cf66bb41810
corosync: fix init script
1) use pgrep instead parsing output of "ps"
2) check if nobody needs to kill

Signed-off-by: Vladimir Sorokin <sorokin@altell.ru>
Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/corosync/corosync_1.2.6.bb
recipes/corosync/files/init