From 63e3473f597328579317b50a7748593c49c46ce7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 1 Feb 2026 07:45:24 +0100 Subject: [PATCH] Update ha_entrypoint.sh --- .templates/ha_entrypoint.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index dc722b7fd..27b2751a3 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -1,6 +1,5 @@ #!/bin/bash # shellcheck shell=bash -set -euo pipefail ########################################## # Detect if this is PID1 (main process) # @@ -152,11 +151,6 @@ echo "Selected shebang: #!$shebang" # Starting scripts # #################### -if [ -f /docker-mods ]; then - echo "Running docker mods" - /docker-mods -fi - run_one_script() { local script="$1" @@ -247,4 +241,7 @@ else echo " " echo -e "\033[0;32mStarting the upstream container\033[0m" echo " " + if [ -f /docker-mods ]; then + exec /docker-mods + fi fi