Make sure config folder exists.
This commit is contained in:
parent
812e00d693
commit
ce25097bf6
@ -4,7 +4,10 @@
|
|||||||
# Configures aiortc configuration
|
# Configures aiortc configuration
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
|
mkdir -p /data/aiortc
|
||||||
|
|
||||||
touch /data/aiortc/aiortc.conf
|
touch /data/aiortc/aiortc.conf
|
||||||
|
|
||||||
if bashio::config.has_value 'webrtc_arguments'; then
|
if bashio::config.has_value 'webrtc_arguments'; then
|
||||||
bashio::config.webrtc_arguments > "/data/aiortc/aiortc.conf"
|
bashio::config.webrtc_arguments > "/data/aiortc/aiortc.conf"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user