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:
parent
792d11ca1c
commit
438cfa26eb
@ -1,5 +1,9 @@
|
|||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
|
if [ ! -d "/opt/lsts/rtklib/" ]; then
|
||||||
|
mkdir /opt/lsts/rtklib
|
||||||
|
fi
|
||||||
|
|
||||||
localBackupPath="/opt/lsts/rtklib/rtklib_cmdfile.cmd"
|
localBackupPath="/opt/lsts/rtklib/rtklib_cmdfile.cmd"
|
||||||
cfgPath="/etc/rtklib/conf/rtkrcv.conf"
|
cfgPath="/etc/rtklib/conf/rtkrcv.conf"
|
||||||
cfgPathUse="/opt/lsts/rtklib/conf_use.conf"
|
cfgPathUse="/opt/lsts/rtklib/conf_use.conf"
|
||||||
|
Reference in New Issue
Block a user