diff options
author | Sam Nelson <sam.nelson@ti.com> | 2015-02-09 22:42:53 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-02-10 15:17:02 -0500 |
commit | fc80f04360d5c67e4501eb8b292b67864b2a3aad (patch) | |
tree | 67a3a37b6a2187f7484c962e1fef6374f9b43c1d /recipes-ti | |
parent | e19f8be96aa0b6d7ad67a3de2f487e5d151e7cba (diff) | |
download | meta-ti-fc80f04360d5c67e4501eb8b292b67864b2a3aad.tar.gz |
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>
Diffstat (limited to 'recipes-ti')
-rw-r--r-- | recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh b/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh index 97f870e8..7f0632a7 100644 --- a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh +++ b/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh | |||
@@ -1,14 +1,15 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | tiipclad_daemon=/usr/bin/__LAD_DAEMON__ | 3 | tiipclad_daemon=/usr/bin/__LAD_DAEMON__ |
4 | tiipclad_params=lad.txt | 4 | tiipclad_params="-l lad.txt" |
5 | 5 | ||
6 | test -x "$tiipclad_daemon" || exit 0 | 6 | test -x "$tiipclad_daemon" || exit 0 |
7 | 7 | ||
8 | case "$1" in | 8 | case "$1" in |
9 | start) | 9 | start) |
10 | echo -n "Starting tiipclad daemon" | 10 | echo -n "Starting tiipclad daemon" |
11 | start-stop-daemon --start --quiet --exec $tiipclad_daemon $tiipclad_params | 11 | start-stop-daemon --start --quiet \ |
12 | --exec $tiipclad_daemon -- $tiipclad_params | ||
12 | echo "." | 13 | echo "." |
13 | ;; | 14 | ;; |
14 | stop) | 15 | stop) |