diff --git a/spotweb/rootfs/etc/cont-init.d/90-spotweb b/spotweb/rootfs/etc/cont-init.d/90-spotweb index 9e6cdd2dd..f8f5ff2ca 100644 --- a/spotweb/rootfs/etc/cont-init.d/90-spotweb +++ b/spotweb/rootfs/etc/cont-init.d/90-spotweb @@ -73,6 +73,11 @@ fi echo "\$dbsettings['port'] = '${port}';" } > /app/dbsettings.inc.php +# Import settings if existing +if [ -f /config/addons_config/ownsettings.php ]; then + bashio::log.warning "A file named ownsettings.php was found in /config/addons_config. It will be used instead of the addons options." + ln -s /config/addons_config/ownsettings.php /app/ownsettings.php +fi # cat /app/dbsettings.inc.php