From 41cec03df1817803d8ca25a9e456ef87a7548ff2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:56:59 +0100 Subject: [PATCH] Remove bashio log --- .templates/ha_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index e93c5cdd5..b90f03880 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -16,7 +16,7 @@ for SCRIPTS in /etc/cont-init.d/*; do chown "$(id -u)":"$(id -g)" "$SCRIPTS" chmod a+x "$SCRIPTS" else - bashio::log.warning "Script executed with user $(id -u):$(id -g), things can break and chown won't work" + echo -e "\e[38;5;214m$(date) WARNING: Script executed with user $(id -u):$(id -g), things can break and chown won't work\e[0m" # Disable chown and chmod in scripts sed -i "s/^chown /true # chown /g" "$SCRIPTS" sed -i "s/ chown / true # chown /g" "$SCRIPTS"