Update 80-configuration.sh

This commit is contained in:
Alexandre
2022-02-07 19:00:08 +01:00
committed by GitHub
parent efc8249898
commit 6fc11ca813

View File

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