hydrophonitor/scripts/start-gps.sh

13 lines
343 B
Bash
Raw Normal View History

#!/usr/bin/sh
# 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"
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