fix go2rtc run

This commit is contained in:
Sergey Krashevich 2023-11-21 01:49:31 +03:00
parent 8864e33d1c
commit 0e86facff6
No known key found for this signature in database
GPG Key ID: 625171324E7D3856

View File

@ -48,6 +48,7 @@ export LIBAVFORMAT_VERSION_MAJOR=$(ffmpeg -version | grep -Po 'libavformat\W+\K\
if [[ -f "/dev/shm/go2rtc.yaml" ]]; then
echo "[INFO] Removing stale config from last run..."
rm /dev/shm/go2rtc.yaml
fi
if [[ ! -f "/dev/shm/go2rtc.yaml" ]]; then
echo "[INFO] Preparing new go2rtc config..."