hydrophonitor/scripts/start-pressure-depth.sh
Satu Koskinen 31df098fa8 Clean up
2022-10-04 21:24:42 +03:00

11 lines
288 B
Bash

#!/usr/bin/sh
# Export the configuration values
. /home/pi/hydrophonitor/scripts/export-config-values.sh
DEPTH_EXECUTABLE_PATH="/home/pi/hydrophonitor/depth-logger"
OPTIONS="--output $OUTPUT_DIR --interval $DEPTH_INTERVAL"
cd $DEPTH_EXECUTABLE_PATH && python record-depth.py $OPTIONS