change config.json path
This commit is contained in:
parent
5d9e8d0001
commit
928c8f17f3
|
@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configfile="config.json"
|
configfile="~/RandomVideo/config.json"
|
||||||
|
|
||||||
folder="$($cmdjq -r ".RandomVideo | .folder" $configfile)"
|
folder="$($cmdjq -r ".RandomVideo | .folder" $configfile)"
|
||||||
player="$($cmdjq -r ".player" $configfile)"
|
player="$($cmdjq -r ".player" $configfile)"
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configfile="config.json"
|
configfile="~/RandomVideo/config.json"
|
||||||
|
|
||||||
buzzergpio="$($cmdjq -r ".buzzer | .buzzergpio" $configfile)"
|
buzzergpio="$($cmdjq -r ".buzzer | .buzzergpio" $configfile)"
|
||||||
strobegpio="$($cmdjq -r ".buzzer | .strobegpio" $configfile)"
|
strobegpio="$($cmdjq -r ".buzzer | .strobegpio" $configfile)"
|
||||||
|
|
Loading…
Reference in New Issue