mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 80-configuration.sh
This commit is contained in:
@@ -45,5 +45,5 @@ fi
|
|||||||
# Set password
|
# Set password
|
||||||
if bashio::config.has_value 'PASSWORD'; then
|
if bashio::config.has_value 'PASSWORD'; then
|
||||||
bashio::log.info "Setting password to the value defined in options"
|
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
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user