fix some path errors
This commit is contained in:
parent
bdc84eba37
commit
06d10a58f0
|
@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configfile="~/RandomVideo/config.json"
|
configfile="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="~/RandomVideo/config.json"
|
configfile="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