hydrophonitor/scripts/start-pressure-depth.sh

11 lines
288 B
Bash
Raw Normal View History

2022-10-02 12:24:51 +00:00
#!/usr/bin/sh
# Export the configuration values
. /home/pi/hydrophonitor/scripts/export-config-values.sh
2022-10-04 18:24:42 +00:00
DEPTH_EXECUTABLE_PATH="/home/pi/hydrophonitor/depth-logger"
OPTIONS="--output $OUTPUT_DIR --interval $DEPTH_INTERVAL"
2022-10-02 12:24:51 +00:00
2022-10-04 18:24:42 +00:00
cd $DEPTH_EXECUTABLE_PATH && python record-depth.py $OPTIONS