mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update run
This commit is contained in:
@@ -34,12 +34,12 @@ fi
|
||||
|
||||
# Set password
|
||||
CURRENTPASSWORD=""
|
||||
PASSWORD=$(bashio::config 'password')
|
||||
PASSWORD="$(bashio::config 'password')"
|
||||
if ! bashio::config.has_value 'password'; then
|
||||
PASSWORD="empty"
|
||||
fi
|
||||
touch "/data/portainer_password"
|
||||
CURRENTPASSWORD=$( cat /data/portainer_password )
|
||||
CURRENTPASSWORD="$( cat /data/portainer_password )"
|
||||
|
||||
# Reset password if not first run
|
||||
if bashio::fs.file_exists "/data/hidden"; then
|
||||
|
||||
Reference in New Issue
Block a user