mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 17:46:00 +02:00
Restore original configuration for addons_updater and templates
This commit is contained in:
@@ -46,7 +46,7 @@ if bashio::config.has_value 'log_level'; then
|
||||
fi
|
||||
|
||||
# Show admin token in the log, if config does not exist.
|
||||
if ! bashio::fs.file_exists '/data/config.json'; then
|
||||
if ! bashio::fs.file_exists '/data/config.yaml'; then
|
||||
admin_token=$(openssl rand -base64 48)
|
||||
export ADMIN_TOKEN="${admin_token}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user