From 928c8f17f3c62f06a5aea5c36fd62f759a6e5b85 Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Thu, 24 Sep 2020 15:23:33 +0200 Subject: [PATCH] change config.json path --- RandomVideo.sh | 2 +- buzzer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RandomVideo.sh b/RandomVideo.sh index db22233..adccde0 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -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)" diff --git a/buzzer.sh b/buzzer.sh index db05a00..6608341 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -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)"