2022-08-20 13:40:10 +00:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
2022-10-03 16:37:15 +00:00
|
|
|
# Export the configuration values
|
|
|
|
. /home/pi/hydrophonitor/scripts/export-config-values.sh
|
2022-10-02 12:24:51 +00:00
|
|
|
|
2022-10-04 18:24:42 +00:00
|
|
|
GPS_EXECUTABLE_PATH="/home/pi/hydrophonitor/gps-logger"
|
|
|
|
|
2022-10-03 16:37:15 +00:00
|
|
|
OPTIONS="--output $OUTPUT_DIR --interval $GPS_INTERVAL"
|
|
|
|
|
2022-10-04 18:24:42 +00:00
|
|
|
echo "cd $GPS_EXECUTABLE_PATH && python record-gps.py $OPTIONS"
|
2022-10-04 18:12:00 +00:00
|
|
|
|
2022-10-04 18:24:42 +00:00
|
|
|
cd $GPS_EXECUTABLE_PATH && python record-gps.py $OPTIONS
|