<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Jefferson<br><br>--- Em <b>sáb, 2/6/12, Jefferson Luiz Ferreira <i><jeffersonlferreira@yahoo.com.br></i></b> escreveu:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Jefferson Luiz Ferreira <jeffersonlferreira@yahoo.com.br><br>Assunto: [FOSS-GPS] RTKLIB - rtkrcv in linux.<br>Para: "foss-gps@lists.osgeo.org" <foss-gps@lists.osgeo.org><br>Data: Sábado, 2 de Junho de 2012, 13:20<br><br><div id="yiv552062754"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>hi,</div><div><br>I'm running rtkrcv in linux, but I found some troubles.<br>I can't run rtkrcv as a command line, without enter the command prompt.<br>Someone knows how call rtkrcv without the command prompt?</div><div><br>When I call like
 this:<br>./rtkrcv -s -o config_file.conf<br>the command prompt open and stay opened until I do a shutdown.<br>I want to execute the rtkrcv from a script without any message.</div></div></div></div><br>I wrote an script just now, the problem is how to stop the daemon, may be thru  a telnet console.<br><br>#!/bin/bash<br>#$ GPL2 by yjmenezes at gmail.com ver 1.0 at 2012-06-02 $<br># This is just one idea.<br>if [ $# -lt 5 ]; then<br>    clear 1>&2<br>    echo `basename $0` "<br> rtkrcv [-s][-p port|-d dev][-o file][-t level]<br>OPTIONS<br> -s start RTK server on program startup<br> -p port port number for telnet console<br> -m port port number for monitor stream<br> -d dev terminal device for console<br> -o file configuration file<br> -r level output solution status file (0:off,1:states,2:residuals)<br> -t level debug trace level (0:off,1-5:on)<br>"
 1>&2<br>    echo `basename $0` "-s -d /dev/ttyACM0 -o rtkrcv.conf " 1>&2<br>    echo "ps  -ef | grep  ^rtkit  to see it running and/or to send USR2 signal to the process; kill -USR2 [PID]" 1>&2<br>    exit 1<br>fi<br>PROG=/usr/local/bin/gps/rtkrcv <br>ARGS=`echo $*` 1>&2<br>echo "args:" $ARGS 1>&2<br># finaly<br>$PROG $ARGS<br>exit 0<br><br>I hope it helps. <br>Wich receiver are you working with ?<br><br>regards, <br>julio menezes<br><br>gpl2.com.br<br><br><br><br><br></blockquote></td></tr></table>