mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 23:55:56 +02:00
Change config location https://github.com/alexbelgium/hassio-addons/issues/1177
This commit is contained in:
@@ -14,10 +14,10 @@ bashio::log.info "Install libnss3"
|
||||
apt-get update && apt-get install libnss3 &>/dev/null
|
||||
|
||||
# Set Ingress login
|
||||
if [ ! -f /config/addons_config/calibre-web/app.db ]; then
|
||||
if [ ! -f /config/app.db ]; then
|
||||
bashio::log.warning "First boot : disabling Ingress until addon restart"
|
||||
else
|
||||
sqlite3 /config/addons_config/calibre-web/app.db 'update settings set config_reverse_proxy_login_header_name="X-WebAuth-User",config_allow_reverse_proxy_header_login=1'
|
||||
sqlite3 /config/app.db 'update settings set config_reverse_proxy_login_header_name="X-WebAuth-User",config_allow_reverse_proxy_header_login=1'
|
||||
fi
|
||||
|
||||
bashio::log.info "Default username:password is admin:admin123"
|
||||
|
||||
Reference in New Issue
Block a user