ha-3dprinter-addons/aiortc/rootfs/etc/cont-init.d/aiortc.sh
2022-07-07 13:34:58 +02:00

12 lines
406 B
Bash

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Add-on: aiortc
# Configures aiortc configuration
# ==============================================================================
touch /data/aiortc/aiortc.conf
if bashio::config.has_value 'webrtc_arguments'; then
bashio::config.webrtc_arguments > "/data/aiortc/aiortc.conf"
done
fi