Skip to content

A live bird collage card for your Home Assistant dashboard.

make users replace password -- not root

Patrick McGuire6010917f0461
diff --git a/scripts/update_services.sh b/scripts/update_services.sh
index f6384dd4..c6e506a3 100755
--- a/scripts/update_services.sh
+++ b/scripts/update_services.sh
@@ -35,9 +35,9 @@ install_mariadb() {
fi
source /etc/os-release
if [[ "${VERSION_CODENAME}" == "buster" ]];then
- ${my_dir}/update_db_pwd_buster.sh
+ USER=${USER} ${my_dir}/update_db_pwd_buster.sh
elif [[ "${VERSION_CODENAME}" == "bullseye" ]];then
- ${my_dir}/update_db_pwd_bullseye.sh
+ USER=${USER} ${my_dir}/update_db_pwd_bullseye.sh
fi
}