ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Pipe input to seperate virtual console. Execute in a seperate shell properly with correct working directory

This commit is contained in:
Kristian Klausen 2015-11-19 14:21:39 +01:00
parent 9b3b8defc6
commit ddbce85c15

View File

@ -1,6 +1,6 @@
start()
{
rtkrcv -s -o /etc/rtklib/conf/rtkrcv.conf < /dev/null > /dev/null 2>&1 &
(cd /opt/lsts/rtklib/ && exec rtkrcv -s -o /etc/rtklib/conf/rtkrcv.conf -d /tmp/ttyC0 < /dev/null > /opt/lsts/rtklib/startlog.log 2>&1 &)
}
stop()