1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 11:42:57 +00:00

ti-ipc: Correct error in ti ipc lad daemon startup script

- Need to add -l for the log file parameter
- Added -- to pass log file as additional parameter

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Sam Nelson
2015-02-09 22:42:53 +00:00
committed by Denys Dmytriyenko
parent f989fcd952
commit c723c52446

View File

@@ -1,14 +1,15 @@
#! /bin/sh
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params=lad.txt
tiipclad_params="-l lad.txt"
test -x "$tiipclad_daemon" || exit 0
case "$1" in
start)
echo -n "Starting tiipclad daemon"
start-stop-daemon --start --quiet --exec $tiipclad_daemon $tiipclad_params
start-stop-daemon --start --quiet \
--exec $tiipclad_daemon -- $tiipclad_params
echo "."
;;
stop)