Update 80-configuration.sh

This commit is contained in:
Alexandre
2022-02-07 18:42:46 +01:00
committed by GitHub
parent 3093a85bc9
commit efc8249898

View File

@@ -45,5 +45,5 @@ fi
# Set password
if bashio::config.has_value 'PASSWORD'; then
bashio::log.info "Setting password to the value defined in options"
echo $(bashio::config 'PASSWORD') | passwd --stdin abc
usermod --password $(echo $(bashio::config 'PASSWORD') | openssl passwd -1 -stdin) abc
fi