[meta-ti] Sam Nelson : ti-ipc: Correct error in ti ipc lad daemon startup script

Arago Project git git at arago-project.org
Tue Feb 10 12:40:56 PST 2015


Module: meta-ti
Branch: master
Commit: fc80f04360d5c67e4501eb8b292b67864b2a3aad
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=fc80f04360d5c67e4501eb8b292b67864b2a3aad

Author: Sam Nelson <sam.nelson at ti.com>
Date:   Mon Feb  9 22:42:53 2015 +0000

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 at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 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 97f870e..7f0632a 100644
--- a/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
+++ b/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
@@ -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)



More information about the meta-ti mailing list