diff options
author | Michael Nazzareno Trimarchi <michael@amarulasolutions.com> | 2024-11-10 16:00:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-12 23:54:35 +0000 |
commit | cacd35c35ad8ea21995a7a4243ce33a3758c3976 (patch) | |
tree | 21c012da90e824fe59256e4c60bd47a793f59946 /meta/lib/oeqa/selftest | |
parent | 95c97fef3b717b44d7d49fbf3039f55a7ed6baf8 (diff) | |
download | poky-cacd35c35ad8ea21995a7a4243ce33a3758c3976.tar.gz |
connman: Fix restart script
The script does not work if the connman service is already stopped.
The start-stop-daemon checks for the existence of a specified process.
If such a process exists, start-stop-daemon sends it the signal specified
by --signal, and exits with error status 0. If such a process does
not exist, start-stop-daemon exits with error status 1 (0 if --oknodo is specified).
The script uses set -e so we need to add --oknodo option to stop
(From OE-Core rev: b1c1b67166049181136d5eb68740f3bf98bf670d)
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
0 files changed, 0 insertions, 0 deletions