Skip to contentSkip to conversation

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

PATCH New Sam Nelson 1 participant 1 message Feb 9, 2015

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 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

---
 recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh +3 -2
index 97f870e..7f0632a 100644
@@ -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)
Signature · 1 line
1.7.9.5