hydrophonitor/scripts/start-pressure-depth.sh

12 lines
271 B
Bash
Raw Normal View History

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