Update run

This commit is contained in:
Alexandre
2021-10-15 20:06:44 +02:00
committed by GitHub
parent f1c00911c2
commit 869e2d56c5

View File

@@ -63,9 +63,15 @@ if bashio::fs.file_exists "/data/hidden"; then
fi fi
# Define option # Define option
echo -n $PASSWORD > /data/portainer_password if [ ${#detect} -ge 2 ] then;
options+=(--admin-password-file /data/portainer_password) # More than 2 letters, set password
bashio::log.info "... password set to $PASSWORD" echo -n $PASSWORD > /data/portainer_password
options+=(--admin-password-file /data/portainer_password)
bashio::log.info "... password set to $PASSWORD"
else
touch /data/hidden
bashio::log.info "... starting without predefined password"
fi
################### ###################
# HIDE CONTAINERS # # HIDE CONTAINERS #