change config.json path

This commit is contained in:
Martin Selbmann 2020-09-24 15:23:33 +02:00
parent 5d9e8d0001
commit 928c8f17f3
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then
exit 1
fi
configfile="config.json"
configfile="~/RandomVideo/config.json"
folder="$($cmdjq -r ".RandomVideo | .folder" $configfile)"
player="$($cmdjq -r ".player" $configfile)"

View File

@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then
exit 1
fi
configfile="config.json"
configfile="~/RandomVideo/config.json"
buzzergpio="$($cmdjq -r ".buzzer | .buzzergpio" $configfile)"
strobegpio="$($cmdjq -r ".buzzer | .strobegpio" $configfile)"