diff options
author | Qiang Chen <qiang.chen@windriver.com> | 2013-10-30 17:12:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-01 11:09:03 +0000 |
commit | 9f7f7afaa47bc3a058234269bffa55e15558df16 (patch) | |
tree | c255d5c2f421c38b7ee00c35f63a5c27b3b895eb /meta/recipes-kernel/lttng | |
parent | 312961918cbde55f826deca2378d870609678e7b (diff) | |
download | poky-9f7f7afaa47bc3a058234269bffa55e15558df16.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 rev: 39f266138b972b550979909b235a5779828d7d89)
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>
Diffstat (limited to 'meta/recipes-kernel/lttng')
0 files changed, 0 insertions, 0 deletions