14 lines
419 B
Bash
14 lines
419 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Add-on: aiortc
|
|
# 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
|
|
fi
|