Update ha_entrypoint.sh

This commit is contained in:
Alexandre
2025-07-31 15:22:02 +02:00
committed by GitHub
parent 3d2e73a5e7
commit 66bc3428e5

View File

@@ -60,7 +60,7 @@ for SCRIPTS in /etc/cont-init.d/*; do
done
# Start services.d
if "$PID1"; then
if $PID1; then
if [ "$(ls -A /etc/services.d/*/run)" ]; then
for runfile in /etc/services.d/*/run; do
if [[ -f "$runfile" ]]; then
@@ -90,7 +90,7 @@ fi
######################
# If PID 1, keep alive and manage sigterm
if "$PID1"; then
if $PID1; then
echo " "
echo -e "\033[0;32mEverything started!\033[0m"
terminate() {