hydrophonitor/scripts/export-config-values.sh
2022-10-04 21:12:00 +03:00

6 lines
135 B
Bash

#!/bin/sh
CONFIG_FILE=/boot/hydrophonitor/configuration/hydrophonitor-config.txt
export $(grep -v '^#' $CONFIG_FILE | xargs -d '\n')