dbus: add -o option into start-stop-daemon arguments
authorJackie Huang <jackie.huang@windriver.com>
Mon, 22 Jul 2013 08:14:55 +0000 (16:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2013 12:08:58 +0000 (13:08 +0100)
commit4c605b166a63f879ef71becdaad1bee0a0c769d0
tree7e864bcdc35c1aa548673d7ed6ed803161eda8dd
parent8e4800a842baeb426b115e50bd231e4480332d09
dbus: add -o option into start-stop-daemon arguments

/etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes.
This will cause "dbus-1 restart" command can't start dbus when dbus is stopped.
so add --oknodo option to let start-stop-daemon exit with friendly return value.
Then commands will work well.

(From OE-Core rev: 03e745f18f9da22cfba53bb0057bdb0af4a49fca)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus-1.6.10/dbus-1.init