Make sure config folder exists.

This commit is contained in:
Fredrik Baberg 2022-07-07 14:17:49 +02:00
parent 812e00d693
commit ce25097bf6

View File

@ -4,7 +4,10 @@
# Configures aiortc configuration
# ==============================================================================
mkdir -p /data/aiortc
touch /data/aiortc/aiortc.conf
if bashio::config.has_value 'webrtc_arguments'; then
bashio::config.webrtc_arguments > "/data/aiortc/aiortc.conf"
done