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

Sam Nelson sam.nelson at ti.com
Mon Feb 9 08:42:53 PST 2015


- 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>
---
 recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh |    5 +++--
 1 file 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)
-- 
1.7.9.5



More information about the meta-ti mailing list