diff options
author | Qiang Chen <qiang.chen@windriver.com> | 2013-10-30 17:12:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 17:00:14 +0000 |
commit | f8643d57ef0ec41804409de00ef6a847c0a3cd7a (patch) | |
tree | a8f0811019f743804bbf95a5c2cfeb4527a68a7f /meta/classes/libc-common.bbclass | |
parent | 01411d9cf0379b24f468bf2fdce228ea913e283c (diff) | |
download | poky-f8643d57ef0ec41804409de00ef6a847c0a3cd7a.tar.gz |
irda-utils: restart irda daemon correctly
irattach init script restart faulty logic prevents irda daemon
from restart correctly.
root@qemu0:~# /etc/init.d/irattach restart
Restarting IrDA: Terminated
root@qemu0:~# ps aux | grep irattach
root 541 0.0 0.2 2400 612 ttyS0 S+ 09:05 0:00 grep irattach
As above shows, irattach not started after executing restart command.
This commit changed the restart command logic: firstly stop, then
start.
Prompt telling user irattach start successfully or failure also
added.
(From OE-Core master rev: 39f266138b972b550979909b235a5779828d7d89)
(From OE-Core rev: 37ceb9ad0c45aca458e2ff4770b8a0535286a78e)
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-common.bbclass')
0 files changed, 0 insertions, 0 deletions