ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Added functionality to create the folder /opt/lsts/rtklib/ if it does not exist.

This commit is contained in:
Kristian Klausen 2016-05-05 22:54:08 +02:00
parent 792d11ca1c
commit 438cfa26eb

View File

@ -1,5 +1,9 @@
start()
{
if [ ! -d "/opt/lsts/rtklib/" ]; then
mkdir /opt/lsts/rtklib
fi
localBackupPath="/opt/lsts/rtklib/rtklib_cmdfile.cmd"
cfgPath="/etc/rtklib/conf/rtkrcv.conf"
cfgPathUse="/opt/lsts/rtklib/conf_use.conf"