hydrophonitor/scripts/start-gps.sh

10 lines
285 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
GPS_EXECUTABLE_LOCATION="/home/pi/hydrophonitor/gps-logger"
OPTIONS="--output $OUTPUT_DIR --interval $GPS_INTERVAL"
cd $GPS_EXECUTABLE_LOCATION && python record-gps.py $OPTIONS