hydrophonitor/scripts/start-gps.sh

12 lines
267 B
Bash
Raw Normal View History

#!/bin/bash
set -x
# Export the configuration values
SCRIPT_PATH=/home/pi/hydrophonitor/scripts
. $SCRIPT_PATH/export-config-values.sh
2022-10-04 18:24:42 +00:00
OPTIONS="--output $OUTPUT_DIR --interval $GPS_INTERVAL"
cd $HOME_PATH/hydrophonitor/gps-logger && python record-gps.py $OPTIONS