ti-ipc: Correct error in ti ipc lad daemon startup script
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
Signed-off-by Sam Nelson <[email protected]>
--- 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
@@ -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