2022-10-11 06:19:01 +00:00
|
|
|
#!/bin/bash
|
2022-08-20 13:40:10 +00:00
|
|
|
|
2022-10-22 11:41:27 +00:00
|
|
|
set -x
|
|
|
|
|
2022-10-03 16:37:15 +00:00
|
|
|
# Export the configuration values
|
2022-10-22 12:54:50 +00:00
|
|
|
SCRIPT_PATH=/home/pi/hydrophonitor/scripts
|
2022-10-23 14:03:54 +00:00
|
|
|
. $SCRIPT_PATH/export-config-values.sh
|
2022-10-04 18:24:42 +00:00
|
|
|
|
2022-10-03 16:37:15 +00:00
|
|
|
OPTIONS="--output $OUTPUT_DIR --interval $GPS_INTERVAL"
|
|
|
|
|
2022-10-22 12:54:50 +00:00
|
|
|
cd $HOME_PATH/hydrophonitor/gps-logger && python record-gps.py $OPTIONS
|