From 493b14aff36078473b13fed19a069cac4b078178 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 16 Feb 2025 13:58:17 +0100 Subject: [PATCH] Scripts to run only once --- .templates/ha_entrypoint.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 7a7d55f6b..ba716f33b 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -46,9 +46,7 @@ for SCRIPTS in /etc/cont-init.d/*; do fi # Cleanup - if bashio::supervisor.ping 2>/dev/null; then - rm "$SCRIPTS" - fi + rm "$SCRIPTS" done