ps_password

This commit is contained in:
Alexandre
2025-02-13 09:54:05 +01:00
committed by GitHub
parent 1fd8a22ad5
commit ce0cd2a0fa

View File

@@ -7,7 +7,9 @@ set -e
##############
bashio::log.info "Setting password for the user pi"
echo "pi:$(bashio::config "pi_password")" | chpasswd
if bashio::config.has_value "pi_password"; then
echo "pi:$(bashio::config "pi_password")" | chpasswd
fi
bashio::log.info "Password set successfully for user pi."
bashio::log.info "Setting timezone :"