mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Import ownsettings.php
https://github.com/alexbelgium/hassio-addons/issues/381
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user